forked from geopandas/contextily
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
41 lines (35 loc) · 913 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
37
38
39
40
41
language: python
sudo: false
branches:
only:
- master
os:
- linux
matrix:
include:
- env: ENV_FILE="ci/travis/36-minimal.yaml"
- env: ENV_FILE="ci/travis/37-latest-conda-forge.yaml"
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ./miniconda
- export PATH=`pwd`/miniconda/bin:$PATH
- conda config --set always_yes yes --set changeps1 no
- conda update conda
- conda info
- conda env create --file="${ENV_FILE}"
- source activate test-environment
- pip install coveralls
install:
- python -m pip install -e .
- conda list
script:
- python setup.py sdist >/dev/null
- python -m pytest -v tests/ --cov contextily
notifications:
email:
recipients:
on_failure: always
after_success:
- coveralls