-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
39 lines (34 loc) · 830 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
dist: bionic
language: python
os : linux
python:
- "3.6"
- "3.7"
- "3.8"
addons:
apt:
packages:
- libgdal-dev
before_install:
- sudo add-apt-repository --yes ppa:ubuntugis/ppa
- sudo apt-get --quiet update
- sudo apt-get install --yes libgdal-dev gdal-bin
install:
- pip install gdal==`gdal-config --version`
- pip install -r requirements.txt
- pip install .
- pip install codecov
- pip install pytest-cov pytest
script:
- python setup.py develop
- pytest -v --cov=pottok
deploy:
provider: pypi
user: __token__
password: pypi-AgEIcHlwaS5vcmcCJDg1YzEzYzRkLTVmY2QtNDEwMC1iOGM4LWNlY2I0OTEzYmYyOQACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYg2ZHjvB0CwZl1XIYdXlg57dOT51Ilq0WWN8O2NBCN6ak
on:
tags: true
branch: master
skip_existing: true
after_success:
- codecov