We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92f3430 commit fb5f890Copy full SHA for fb5f890
1 file changed
.travis.yml
@@ -0,0 +1,28 @@
1
+language: python
2
+python:
3
+ - "2.7"
4
+services:
5
+ - postgresql
6
+ - redis-server
7
+before_script:
8
+ - export DATABASE_URL=postgres://postgres@localhost/piedpiper
9
+ - export DJANGO_SECRET=`openssl rand -base64 32`
10
+ - psql -c 'CREATE DATABASE "piedpiper";' -U postgres
11
+install:
12
+ - pip install cookiecutter
13
+ - cookiecutter . --no-input
14
+ - cd piedpiper-web
15
+ - pip install -r requirements/test.txt
16
+script:
17
+ - ./piedpiper/manage.py test piedpiper
18
+
19
+notifications:
20
+ email: false
21
22
+# This reportedly works around an issue downloading packages from pypi on
23
+# travis. Consider removing this after the underlying issue is fixed.
24
+# https://github.com/travis-ci/travis-ci/issues/2389
25
+sudo: false
26
27
+matrix:
28
+ fast_finish: true
0 commit comments