-
Notifications
You must be signed in to change notification settings - Fork 54
/
.travis.yml
47 lines (38 loc) · 1.05 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
47
language: python
sudo: false
matrix:
include:
# Python 2.7
- env: ENV_FILE="travis/27-latest-conda-forge.yml"
# Python 3.5 and 3.6 test all supported Pandas versions
- env: ENV_FILE="travis/35-defaults.yml"
- env: ENV_FILE="travis/35-latest-conda-forge.yml"
- env: ENV_FILE="travis/36-defaults.yml"
- env: ENV_FILE="travis/36-latest-conda-forge.yml"
# Python 3.7
- env: ENV_FILE="travis/37-defaults.yml"
- env: ENV_FILE="travis/37-latest-conda-forge.yml"
# Python 3.8
- env: ENV_FILE="travis/38-defaults.yml"
- env: ENV_FILE="travis/38-latest-conda-forge.yml"
install:
# Install conda
- source travis/install.sh
- conda update -q conda
- conda install -n base conda-libmamba-solver
- conda config --set solver libmamba
- conda env create --file="${ENV_FILE}"
- conda init bash
- source activate test
- pip install -e .
- conda list
script:
- pytest
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
after_success:
- codecov
- coveralls