forked from CalebBell/fluids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.16 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: c
os:
# - osx # too many build minutes, keep travis running as long as it can
- linux
compiler:
# - "2.7" # sphinx no longer works
# - "3.5" # Bad pint support
- "3.6"
- "3.7"
- "3.8"
env:
- SCIPY_VER="scipy>=0.12.0"
# safelist
branches:
only:
- release
matrix:
fast_finish: true
# include:
# - os: "linux"
# compiler: "2.7"
# env: SCIPY_VER="scipy=0.18.0"
notifications:
email: false
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then CONDA_OS='Linux'; else CONDA_OS='MacOSX'; fi;
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-${CONDA_OS}-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$CC numpy pandas pytz numba IPython sphinx
- source activate test-environment
- conda install $SCIPY_VER
- pip install -r requirements_test.txt
script:
- py.test . -v --cov-report html --cov=fluids --cov-report term-missing -m "not online and not thermo and not numba"
after_success:
- coveralls