-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
49 lines (40 loc) · 1016 Bytes
/
.travis.yml
File metadata and controls
49 lines (40 loc) · 1016 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# .travis.yml
# Configuration file for Travis-CI.org hosted testing
language: python
python:
- "2.7"
branches:
only:
- master
services:
- postgresql
- rabbitmq
before_install:
- sudo apt-get install -qq libevent-dev libpq-dev
install:
- pip install -r requirements.txt --use-mirrors
- pip install -r client/requirements.txt --use-mirrors
- pip install -r docs/requirements.txt --use-mirrors
- pip install coveralls flake8 --use-mirrors
before_script:
- "psql -c 'create database deis_testing;' -U postgres"
- |
cat > deis/local_settings.py <<EOF
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'deis_testing',
'USER': 'postgres',
'PASSWORD': '',
'HOST': '',
'PORT': '',
}
}
SECRET_KEY = ')9$y9(@_r!+ai=ub)wsp2!!vsfaker7ke9!jaljgf1_@rw421='
EOF
script:
# - make flake8
- make coverage
- make -C docs
after_success:
- coveralls