source: sasview/.travis.yml @ 6a9c520b

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 6a9c520b was 6a9c520b, checked in by GitHub <noreply@…>, 3 years ago

Update .travis.yml

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# Test Travis CL
2
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:
14  - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python-numpy python-scipy python-matplotlib libhdf5-serial-dev python-h5py; fi'
15
16install:
17  - pip install -r build_tools/requirements.txt
18  - pip install pyopencl
19
20before_script:
21  - "export DISPLAY=:99.0"
22  - "sh -e /etc/init.d/xvfb start"
23  - sleep 3 # give xvfb some time to start
24 
25script:
26  - export WORKSPACE=/home/travis/build/SasView/
27  - cd $WORKSPACE
28  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
29  - export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
30  - cd $WORKSPACE
31  - ls -ltr
32  - if [ ! -d "utils" ]; then mkdir utils; fi
33  - /bin/sh -xe sasview/build_tools/jenkins_linux_build.sh
34#  - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh
35  - export LC_ALL=en_US.UTF-8
36  - export LANG=en_US.UTF-8
37#  - python setup.py docs; echo 0
38#  - python setup.py bdist_egg --skip-build
39
Note: See TracBrowser for help on using the repository browser.