source: sasmodels/.travis.yml @ 39aa0f6

core_shell_microgelscostrafo411magnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 39aa0f6 was 39aa0f6, checked in by Paul Kienzle <pkienzle@…>, 7 years ago

use verbose mode on travis to see if the tests run to completion

  • Property mode set to 100644
File size: 1.4 KB
Line 
1language: python
2
3sudo:  false
4
5matrix:
6  include:
7    - os: linux
8      env:
9        - PY=3.4
10  exclude:
11    - os: linux
12      env:
13        - PY=3.6
14    - os: linux
15      env:
16        - PY=2.7
17    - os: osx
18      language: generic
19      env:
20        - PY=2.7
21    - os: osx
22      language: generic
23      env:
24        - PY=3.5
25
26# whitelist
27branches:
28  only:
29    - master
30
31addons:
32  apt:
33    packages:
34      opencl-headers
35
36before_install:
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 numpy scipy cython mako cffi
55
56  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
57      pip install pyopencl;
58    fi;
59
60install:
61  - pip install bumps
62  - pip install unittest-xml-reporting
63
64script:
65- python --version
66- python -m sasmodels.model_test -v dll all
67
68notifications:
69  slack:
70    secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA=
Note: See TracBrowser for help on using the repository browser.