File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+ dist : focal
3
+
4
+ before_install :
5
+ # Install conda
6
+ - export MINICONDA=${HOME}/miniconda
7
+ - export PATH=${MINICONDA}/bin:${PATH}
8
+ - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
9
+ - bash miniconda.sh -b -f -p ${MINICONDA}
10
+ - conda config --set always_yes yes
11
+ - conda config --add channels defaults
12
+ - conda config --add channels conda-forge
13
+ install :
14
+ - conda install python=$TRAVIS_PYTHON_VERSION, isa-l, tox
15
+
16
+ python : 3.5 # Use the oldest supported version of python as default.
17
+ script :
18
+ - tox -e $TOX_ENV
19
+ matrix :
20
+ include :
21
+ # TEST DOCS AND LINTING
22
+ # Use default python3 version here.
23
+ - env : TOX_ENV=docs
24
+ - env : TOX_ENV=lint
25
+ # UNIT TESTS
26
+ # On most recent versions of python.
27
+ - env : TOX_ENV=py35
28
+ after_success :
29
+ - pip install codecov
30
+ - codecov -v # -v to make sure coverage upload works.
31
+ - python : 3.6
32
+ env : TOX_ENV=py36
33
+ - python : 3.7
34
+ env : TOX_ENV=py37
35
+ - python : 3.8
36
+ env : TOX_ENV=py38
You can’t perform that action at this time.
0 commit comments