-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (28 loc) · 742 Bytes
/
.travis.yml
File metadata and controls
28 lines (28 loc) · 742 Bytes
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
dist: bionic
services:
- redis
- memcached
language: python
cache: pip
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
- "nightly"
jobs:
allow_failures:
# Sometimes nightly builds are broken, or contain breaking changes that affect dependencies we have
# no control over. Thus we don't want a failed nightly run to cause Travis to consider the build broken.
- python: 'nightly'
- python: '3.9-dev'
before_install:
- sudo apt-get update -qy
- sudo apt-get install -qy sqlite3
- sudo apt-get install -qy iputils-ping
- "sudo rsync -avh 'rsync://files.privex.io/cdn/extras/GeoIP/*.mmdb' /usr/share/GeoIP/"
install:
- pip install -U '.[dev]'
script: pytest --cov=./privex -rxXs -v
after_success:
- codecov