-
Notifications
You must be signed in to change notification settings - Fork 82
/
.travis.yml
57 lines (50 loc) · 1.07 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
language: python
dist: trusty
matrix:
allow_failures:
- env: TOX_ENV=py34
include:
- python: "2.7"
env:
- TOX_ENV=py27
- OMAHA_SERVER_PRIVATE=True
- python: "2.7"
env:
- TOX_ENV=py27
- OMAHA_SERVER_PRIVATE=False
- python: "2.7"
env:
- TOX_ENV=py27
- DJANGO_SETTINGS_MODULE=omaha_server.settings_test_postgres
- python: "2.7"
env:
- TOX_ENV=py27
- PATH_TO_TEST=omaha.tests.test_public
- DJANGO_SETTINGS_MODULE=omaha_server.settings_test_postgres
- OMAHA_SERVER_PRIVATE=False
- python: "3.4"
env: TOX_ENV=py34
- python: "2.7"
env: TOX_ENV=coverage
cache: pip
sudo: false
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- python-lxml
- python-psycopg2
- python-dev
env:
global:
- HOST_NAME: 'travis-ci'
- SECRET_KEY: 'SECRET_KEY'
- GRPC_PYTHON_BUILD_WITH_CYTHON: 1
services:
- redis-server
install:
- pip install tox==2.2.1
- pip install google-compute-engine
script:
- tox -e $TOX_ENV