forked from City-of-Helsinki/parkkihubi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (36 loc) · 818 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
42
43
44
45
sudo: yes
dist: xenial
language: python
cache: pip
matrix:
include:
- python: "3.5"
- python: "3.6"
- python: "3.7"
- python: "3.8"
- name: Requirements
env: TOXENV=requirements
python: "3.5"
addons: null
before_script: null
- name: Coding Style
env: TOXENV=style
python: "3.5"
addons: null
before_script: null
- name: Sanitizer Configuration
env: TOXENV=sanitizer
python: "3.5"
addons: null
before_script: null
addons:
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
- postgresql-10-postgis-2.4
install: pip install tox-travis
before_script: psql -U postgres -c "create extension postgis"
script: tox
after_success: pip install -r requirements-cov.txt && codecov