source: sasmodels/.travis.yml @ 5533cf4

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

travis build linux/osx 2.7, linux 3.4, osx 3.6

  • 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=2.7
10    - os: linux
11      env:
12        - PY=3.4
13    - os: osx
14      env:
15        - PY=2.7
16    - os: osx
17      env:
18        - PY=3.6
19
20# whitelist
21branches:
22  only:
23    - master
24
25addons:
26  apt:
27    packages:
28      opencl-headers
29
30before_install:
31  - echo $TRAVIS_OS_NAME
32
33  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
34      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
35    fi;
36  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
37      wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
38    fi;
39
40  - bash miniconda.sh -b -p $HOME/miniconda
41  - export PATH="$HOME/miniconda/bin:$PATH"
42  - hash -r
43  - conda update --yes conda
44
45  # Useful for debugging any issues with conda
46  - conda info -a
47
48  - conda install --yes python=$PY numpy scipy cython mako cffi
49
50  # Not testing with opencl below, so don't need to install it
51  #- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
52  #    pip install pyopencl;
53  #  fi;
54
55install:
56  - pip install bumps
57  - pip install unittest-xml-reporting
58
59script:
60- python --version
61- python -m sasmodels.model_test -v dll all
62
63notifications:
64  slack:
65    secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA=
Note: See TracBrowser for help on using the repository browser.