File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .travis.yml
2+ # Configuration file for Travis-CI.org hosted testing
3+
14language : python
5+
26python :
37 - " 2.7"
8+
9+ branches :
10+ only :
11+ - master
12+
413services :
514 - postgresql
615 - rabbitmq
716
8- # command to install dependencies
917before_install :
1018 - sudo apt-get install -qq libevent-dev libpq-dev
19+
1120install :
1221 - " pip install -r requirements.txt --use-mirrors"
1322
14- # command to run tests
1523before_script :
1624 - " psql -c 'create database deis_testing;' -U postgres"
17- script : " python manage.py test"
25+ - |
26+ cat > deis/local_settings.py <<EOF
27+ DATABASES = {
28+ 'default': {
29+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
30+ 'NAME': 'deis_testing',
31+ 'USER': 'postgres',
32+ 'PASSWORD': '',
33+ 'HOST': '',
34+ 'PORT': '',
35+ }
36+ }
37+ SECRET_KEY = ')9$y9(@_r!+ai=ub)wsp2!!vs4i67x7ke9!jaljgf1_@rw421='
38+ EOF
39+
40+ script : " make test"
You can’t perform that action at this time.
0 commit comments