-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
32 lines (32 loc) · 933 Bytes
/
.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
language: c
os:
- linux
compiler:
- "3.6"
- "3.7"
- "3.8"
branches:
only:
- master
matrix:
fast_finish: true
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 scipy matplotlib pytest sympy pytz
- source activate test-environment
- pip install -r requirements_test.txt
- python setup.py -q install
- rm -rf thermosteam
script:
- py.test . -v --cov-report html --cov=thermosteam --cov-report term-missing -m "not online and not slow"
after_success:
- coveralls