core_shell_microgelscostrafo411magnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since ba2ed54 was
b419c2d,
checked in by Paul Kienzle <pkienzle@…>, 7 years ago
|
fix travis failures due to slow linux compiler
|
-
Property mode set to
100644
|
File size:
1.4 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 | - os: linux |
---|
| 11 | env: |
---|
[b419c2d] | 12 | - PY=3.6 |
---|
[1c83260] | 13 | - os: osx |
---|
| 14 | language: generic |
---|
| 15 | env: |
---|
| 16 | - PY=2.7 |
---|
| 17 | - os: osx |
---|
| 18 | language: generic |
---|
| 19 | env: |
---|
[b419c2d] | 20 | - PY=3.5 |
---|
[1c83260] | 21 | |
---|
| 22 | # whitelist |
---|
[8b81801] | 23 | branches: |
---|
| 24 | only: |
---|
[1c83260] | 25 | - master |
---|
| 26 | |
---|
| 27 | addons: |
---|
| 28 | apt: |
---|
| 29 | packages: |
---|
| 30 | opencl-headers |
---|
| 31 | |
---|
[5304138] | 32 | before_install: |
---|
[1c83260] | 33 | - echo $TRAVIS_OS_NAME |
---|
| 34 | |
---|
| 35 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then |
---|
| 36 | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; |
---|
| 37 | fi; |
---|
| 38 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
---|
| 39 | wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; |
---|
| 40 | fi; |
---|
| 41 | |
---|
| 42 | - bash miniconda.sh -b -p $HOME/miniconda |
---|
| 43 | - export PATH="$HOME/miniconda/bin:$PATH" |
---|
| 44 | - hash -r |
---|
| 45 | - conda update --yes conda |
---|
| 46 | |
---|
| 47 | # Useful for debugging any issues with conda |
---|
| 48 | - conda info -a |
---|
| 49 | |
---|
[b419c2d] | 50 | - conda install --yes python=$PY numpy scipy cython mako cffi |
---|
[1c83260] | 51 | |
---|
[b419c2d] | 52 | # Not testing with opencl below, so don't need to install it |
---|
| 53 | #- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
---|
| 54 | # pip install pyopencl; |
---|
| 55 | # fi; |
---|
[24cd982] | 56 | |
---|
[8b81801] | 57 | install: |
---|
[1c83260] | 58 | - pip install bumps |
---|
| 59 | - pip install unittest-xml-reporting |
---|
| 60 | |
---|
[8b81801] | 61 | script: |
---|
[b419c2d] | 62 | - python --version |
---|
| 63 | - python -m sasmodels.model_test -v dll all |
---|
[1c83260] | 64 | |
---|
[01e551a] | 65 | notifications: |
---|
| 66 | slack: |
---|
| 67 | secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA= |
---|
Note: See
TracBrowser
for help on using the repository browser.