Changes in .travis.yml [bec0e75:24cd982] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
rbec0e75 r24cd982 1 # Test Travis CL 1 language: python 2 2 3 language: python 4 python: 5 - "2.7" 3 sudo: false 4 5 matrix: 6 include: 7 - os: linux 8 env: 9 - PY=2.7 10 - NUMPYSPEC=numpy 11 - os: linux 12 env: 13 - PY=3 14 - NUMPYSPEC=numpy 15 - os: osx 16 language: generic 17 env: 18 - PY=2.7 19 - NUMPYSPEC=numpy 20 - os: osx 21 language: generic 22 env: 23 - PY=3 24 - NUMPYSPEC=numpy 25 6 26 # whitelist 7 27 branches: 8 28 only: 9 29 - master 10 # command to install dependencies 11 virtualenv: 12 system_site_packages: true 30 31 addons: 32 apt: 33 packages: 34 opencl-headers 35 13 36 before_install: 14 - sudo apt-get update; 15 - sudo apt-get install python-numpy python-scipy 16 # - sudo apt-get install opencl-headers 37 - echo $TRAVIS_OS_NAME 38 39 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 40 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 41 fi; 42 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 43 wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; 44 fi; 45 46 - bash miniconda.sh -b -p $HOME/miniconda 47 - export PATH="$HOME/miniconda/bin:$PATH" 48 - hash -r 49 - conda update --yes conda 50 51 # Useful for debugging any issues with conda 52 - conda info -a 53 54 - conda install --yes python=$PY $NUMPYSPEC scipy cython mako cffi 55 56 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 57 pip install pyopencl; 58 fi; 17 59 18 60 install: 19 # - pip install pyopencl20 61 - pip install bumps 21 62 - pip install unittest-xml-reporting 63 22 64 script: 23 - export WORKSPACE=/home/travis/build/SasView/sasmodels/ 24 - python -m sasmodels.model_test dll all 65 - export WORKSPACE=/home/travis/build/SasView/sasmodels/ 66 - python -m sasmodels.model_test dll all 67 68 notifications: 69 slack: 70 secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA=
Note: See TracChangeset
for help on using the changeset viewer.