-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
46 lines (42 loc) · 1.06 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
42
43
44
45
46
language: python
jobs:
include:
- python: 3.5
env:
- NUMPY_VER="=1.12"
- SCIPY_VER="=0.19"
- python: 3.6
env:
- NUMPY_VER="=1.13"
- SCIPY_VER="=1.0.0"
- python: 3.7
env:
- NUMPY_VER="=1.15"
- SCIPY_VER="=1.2.0"
- python: 3.8
env:
- NUMPY_VER="=1.17"
- SCIPY_VER="=1.4.1"
- python: 3.9
env:
- NUMPY_VER=""
- SCIPY_VER=""
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n tweedie_test python=$TRAVIS_PYTHON_VERSION pytest pytest-cov pip numpy${NUMPY_VER} scipy${SCIPY_VER}
- source activate tweedie_test
- pip install codecov
install:
- python setup.py develop
script:
- py.test tweedie --doctest-modules --cov=tweedie -v
# notifications:
# email:
after_success:
- codecov