source: sasview/.travis.yml @ 0215e0a

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 0215e0a was 9687d58, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Merge branch 'master' into ESS_GUI

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[3654779]1# Test Travis CL
2
[b199493]3language: python
4python:
5  - "2.7"
6# whitelist
7branches:
8  only:
9    - master
10# command to install dependencies
11virtualenv:
12  system_site_packages: true
13before_install:
[ed8f27e7]14  - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl gfortran libblas-dev liblapack-dev libatlas-dev; fi'
[83b2227]15install:
[637d76d]16  - pip install -r build_tools/requirements.txt
[8e121b1]17
18before_script:
19  - "export DISPLAY=:99.0"
20  - "sh -e /etc/init.d/xvfb start"
21  - sleep 3 # give xvfb some time to start
22 
[b199493]23script:
[ea3f1a8]24  - export WORKSPACE=/home/travis/build/SasView/
[40817b2]25  - cd $WORKSPACE
[5921203]26  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
[b199493]27  - export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
[c56d81cd]28  - cd $WORKSPACE
[5921203]29  - ls -ltr
[b199493]30  - if [ ! -d "utils" ]; then mkdir utils; fi
[d249ccd]31  - /bin/sh -xe sasview/build_tools/travis_build.sh
[ea3f1a8]32#  - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh
[b199493]33  - export LC_ALL=en_US.UTF-8
34  - export LANG=en_US.UTF-8
[0e19153]35#  - python setup.py docs; echo 0
36#  - python setup.py bdist_egg --skip-build
[a4974fa]37
Note: See TracBrowser for help on using the repository browser.