-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
39 lines (34 loc) · 1.34 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
language: python
matrix:
include:
- name: "Python 3.5 with minimum dependency versions"
env: ENVIRONMENT=.ci/environment_py35_min.yml
- name: "Python 3.6 with minimum dependency versions"
env: ENVIRONMENT=.ci/environment_py36_min.yml
- name: "Python 3.7 with minimum dependency versions"
env: ENVIRONMENT=.ci/environment_py37_min.yml
- name: "Python 3.8 with minimum dependency versions"
env: ENVIRONMENT=.ci/environment_py38_min.yml
- name: "Python 3.5 with newest dependency versions"
env: ENVIRONMENT=.ci/environment_py35.yml
- name: "Python 3.6 with newest dependency versions"
env: ENVIRONMENT=.ci/environment_py36.yml
- name: "Python 3.7 with newest dependency versions"
env: ENVIRONMENT=.ci/environment_py37.yml
- name: "Python 3.8 with newest dependency versions"
env: ENVIRONMENT=.ci/environment_py38.yml
before_install:
- wget https://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"
- hash -r
- conda config --set always_yes yes --set changeps1 no
install:
- conda env create --file $ENVIRONMENT
- source activate testenv
- conda list
script:
- python setup.py test --addopts --cov --with-cython-coverage
- flake8
after_success:
- codecov