-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
29 lines (29 loc) · 910 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
language: python
python:
- '2.7'
notifications:
irc:
channels:
- anchor.foonetic.net#jplusplus
on_success: always
on_failure: always
slack:
secure: lc2NcRnOWDXmxoQt8wJh0947g9+cIpDaSe2SAJlXigdPL8qzq04GriV0KmRlcVBvjqB4bViWfEsn5ldtGBBiu5wyQ/nIckESfV/8zpLmUM5uEqhx1U3f9YJLDLjH1THNAJBIL9EI9DKo9IHF2uiZF0/sGj4ejorjiZC8J+K3MWk=
before_install:
- export COVERALLS_REPO_TOKEN=UDtLCy1He2SylMvJMjq1Uu9f1zVFbTim8
- export COVERALLS_SERVICE_NAME=travis-ci
- export DATABASE_URL=sqlite:///test.db
- export DJANGO_SETTINGS_MODULE=app.settings.testing
- export NEO4J_PORT=7474
- export NEO4J_VERSION=1.9.1
install:
- ./install_local_neo4j.bash $NEO4J_VERSION
- ./lib/neo4j/bin/neo4j start
- pip install -r requirements/testing
- pip install coveralls
script:
- coverage run --source=app.detective ./manage.py test detective --pythonpath=. --traceback
after_success:
- coveralls
services:
- redis-server