forked from django-cache-machine/django-cache-machine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (33 loc) · 953 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
dist: xenial
language: python
services:
- memcached
- redis-server
addons:
postgresql: "10"
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- psql -c 'create database travis_ci_test2;' -U postgres
install:
- pip install -U pip # make sure we have the latest version
- pip install -e .
- pip install tox
- pip install coveralls
script:
- tox -e $TOX_ENV
after_success:
- coveralls
matrix:
include:
- python: 2.7
env: TOX_ENV="dj111-py27,py27-flake8"
- python: 3.4
env: TOX_ENV="dj111-py34,dj200-py34"
- python: 3.5
env: TOX_ENV="dj111-py35,dj200-py35,dj210-py35,dj220-py35"
- python: 3.6
env: TOX_ENV="dj111-py36,dj200-py36,dj210-py36,dj220-py36"
- python: 3.7
env: TOX_ENV="dj111-py37,dj200-py37,dj210-py37,dj220-py37,py37-flake8,docs"
# Adding sudo: False tells Travis to use their container-based infrastructure, which is somewhat faster.
sudo: False