-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
40 lines (36 loc) · 900 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
dist: bionic
sudo: required
language: python
python:
- '3.6'
- '3.7'
- '3.8'
stages:
- lint
- test
- deploy
install:
- sudo apt-get -y install libproj-dev binutils gdal-bin libgdal-dev
- pip install gdal==2.2.3 --global-option=build_ext --global-option="-I/usr/include/gdal/"
- pip install -e .
after_failure:
- pip freeze
jobs:
include:
- stage: lint
install:
- pip install black flake8
script:
- black --check geolabel_maker
- flake8 geolabel_maker
- stage: deploy
install: skip
script: skip
deploy:
stage: deploy
provider: pypi
user: __token__
password:
secure: pypi-AgEIcHlwaS5vcmcCJDI5NGVmZmFlLWZhZTktNGI2Yi1iNjQzLTU5NzM3ODcwYjIyNQACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYg2UW-x8MGBgpotmRou2DjIx2F-vJ2Pl-Pc7grI19czVw
on:
tags: true