source:
sasmodels/.travis.yml
@
39aa0f6
Last change on this file since 39aa0f6 was 39aa0f6, checked in by Paul Kienzle <pkienzle@…>, 7 years ago | |
---|---|
|
|
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: | |
[c95d9255] | 9 | - PY=3.4 |
[39aa0f6] | 10 | exclude: |
[c95d9255] | 11 | - os: linux |
12 | env: | |
13 | - PY=3.6 | |
[39aa0f6] | 14 | - os: linux |
15 | env: | |
16 | - PY=2.7 | |
[1c83260] | 17 | - os: osx |
18 | language: generic | |
19 | env: | |
20 | - PY=2.7 | |
21 | - os: osx | |
22 | language: generic | |
23 | env: | |
[39aa0f6] | 24 | - PY=3.5 |
[1c83260] | 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 | ||
[39aa0f6] | 54 | - conda install --yes python=$PY numpy scipy cython mako cffi |
[c95d9255] | 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: |
[39aa0f6] | 65 | - python --version |
66 | - python -m sasmodels.model_test -v 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.