-
Notifications
You must be signed in to change notification settings - Fork 34
/
.travis.yml
36 lines (36 loc) · 951 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
33
34
35
36
language: c
os:
- osx
- linux
compiler:
- "3.5"
- "3.6"
- "3.7"
env:
- SCIPY_VER="scipy>=0.12.0"
# safelist
branches:
only:
- release
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 mpmath
- source activate test-environment
- conda install $SCIPY_VER
- pip install -r requirements_test.txt
- python setup.py -q install
script:
- py.test . -v --cov-report html --cov=ht --cov-report term-missing -m "not slow and not numba"
after_success:
- coveralls