Changes in / [dd11014:3a33740] in sasview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
red8f27e7 rf28f33d5 2 2 3 3 language: python 4 python: 5 - "2.7" 4 5 # can eventually include OSX here. 6 matrix: 7 include: 8 - os: linux 9 env: PY=2.7 10 6 11 # whitelist 7 12 branches: 8 13 only: 9 14 - master 10 # command to install dependencies 11 virtualenv: 12 system_site_packages: true 15 16 addons: 17 apt: 18 packages: 19 - opencl-headers 20 - fglrx 21 - libblas-dev 22 - libatlas-dev 23 - libatlas-base-dev 24 - liblapack-dev 25 - gfortran 26 - libhdf5-serial-dev 27 13 28 before_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' 29 - echo $TRAVIS_OS_NAME 30 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 31 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 32 fi 33 - bash miniconda.sh -b -p $HOME/miniconda 34 - export PATH="$HOME/miniconda/bin:$PATH" 35 - hash -r 36 - conda update --yes conda 37 38 # Useful for debugging any issues with conda 39 - conda info -a 40 41 # could install other dependencies, but they're locked to specific 42 # versions in build/requirements.txt 43 - conda install --yes python=$PY numpy scipy cython pylint wxpython 44 - sudo apt-get update; sudo apt-get install python-pyopencl 15 45 16 46 install: 17 47 - pip install -r build_tools/requirements.txt 48 - pip install matplotlib 18 49 19 50 before_script: … … 23 54 24 55 script: 25 - export WORKSPACE=/home/travis/build/SasView/ 26 - cd $WORKSPACE 56 - cd .. 57 # this should be the directory above the sasview directory, where we want to 58 # clone the sasmodels 59 - export WORKSPACE=$(pwd) 27 60 - 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 61 62 # required for documentation 63 - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git 64 30 65 - ls -ltr 31 66 - if [ ! -d "utils" ]; then mkdir utils; fi 32 67 - /bin/sh -xe sasview/build_tools/travis_build.sh 33 # - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh34 68 - export LC_ALL=en_US.UTF-8 35 69 - export LANG=en_US.UTF-8 -
build_tools/travis_build.sh
r68e6ac8 r858a69d 1 # Simplified build for Travi cCI1 # Simplified build for Travis CI 2 2 # No documentation is built 3 3 export PATH=$PATH:/usr/local/bin/ … … 38 38 cd $WORKSPACE/sasview 39 39 $PYTHON setup.py clean 40 $PYTHON setup.py build docs bdist_egg 40 # $PYTHON setup.py build docs bdist_egg 41 $PYTHON setup.py bdist_egg 41 42 42 43 # INSTALL SASVIEW
Note: See TracChangeset
for help on using the changeset viewer.