core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since 1dd7a45f was
24cd982,
checked in by andyfaff, 8 years ago
|
TST: install pyopencl for OSX test
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[8b81801] | 1 | language: python |
---|
[1c83260] | 2 | |
---|
| 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 | |
---|
| 26 | # whitelist |
---|
[8b81801] | 27 | branches: |
---|
| 28 | only: |
---|
[1c83260] | 29 | - master |
---|
| 30 | |
---|
| 31 | addons: |
---|
| 32 | apt: |
---|
| 33 | packages: |
---|
| 34 | opencl-headers |
---|
| 35 | |
---|
[5304138] | 36 | before_install: |
---|
[1c83260] | 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 | |
---|
[24cd982] | 56 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
---|
| 57 | pip install pyopencl; |
---|
| 58 | fi; |
---|
| 59 | |
---|
[8b81801] | 60 | install: |
---|
[1c83260] | 61 | - pip install bumps |
---|
| 62 | - pip install unittest-xml-reporting |
---|
| 63 | |
---|
[8b81801] | 64 | script: |
---|
[01e551a] | 65 | - export WORKSPACE=/home/travis/build/SasView/sasmodels/ |
---|
| 66 | - python -m sasmodels.model_test dll all |
---|
[1c83260] | 67 | |
---|
[01e551a] | 68 | notifications: |
---|
| 69 | slack: |
---|
| 70 | secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA= |
---|
Note: See
TracBrowser
for help on using the repository browser.