source: sasview/.travis.yml @ 7677b4d

Last change on this file since 7677b4d was ed8f27e7, checked in by ajj, 8 years ago

More travis fixing to get scipy to compile

  • 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-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl gfortran libblas-dev liblapack-dev libatlas-dev; fi'
15
16install:
17  - pip install -r build_tools/requirements.txt
18
19before_script:
20  - "export DISPLAY=:99.0"
21  - "sh -e /etc/init.d/xvfb start"
22  - sleep 3 # give xvfb some time to start
23 
24script:
25  - export WORKSPACE=/home/travis/build/SasView/
26  - cd $WORKSPACE
27  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels
28  - export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
29  - cd $WORKSPACE
30  - ls -ltr
31  - if [ ! -d "utils" ]; then mkdir utils; fi
32  - /bin/sh -xe sasview/build_tools/travis_build.sh
33#  - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh
34  - export LC_ALL=en_US.UTF-8
35  - export LANG=en_US.UTF-8
36#  - python setup.py docs; echo 0
37#  - python setup.py bdist_egg --skip-build
38
Note: See TracBrowser for help on using the repository browser.