source: sasmodels/.travis.yml @ 142a8e2

core_shell_microgelscostrafo411magnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 142a8e2 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
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.6
13    - os: osx
14      language: generic
15      env:
16        - PY=2.7
17    - os: osx
18      language: generic
19      env:
20        - PY=3.5
21
22# whitelist
23branches:
24  only:
25    - master
26
27addons:
28  apt:
29    packages:
30      opencl-headers
31
32before_install:
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
50  - conda install --yes python=$PY numpy scipy cython mako cffi
51
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;
56
57install:
58  - pip install bumps
59  - pip install unittest-xml-reporting
60
61script:
62- python --version
63- python -m sasmodels.model_test -v dll all
64
65notifications:
66  slack:
67    secure: xNAUeSu1/it/x9Q2CSg79aw1LLc7d6mLpcqSCTeKROp71RhkFf8VjJnJm/lEbKHNC8yj5H9UHrz5DmzwJzI+6oMt4NdEeS6WvGhwGY/wCt2IcJKxw0vj1DAU04qFMS041Khwclo6jIqm76DloinXvmvsS+K/nSyQkF7q4egSlwA=
Note: See TracBrowser for help on using the repository browser.