-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
23 lines (23 loc) · 1.12 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
language: python
python:
- '2.7'
install: pip install -r requirements.txt
script:
- APP_SETTINGS="config.TestingConfig" python tests.py
env:
global:
- NOTIFY_TEST_REMOTE_BROWSER=YES
- APP_SETTINGS="config.StagingConfig"
- DATABASE_URL="postgres://travis:@localhost/travis_ci_test"
- BROWSERID_URL="http://localhost:5000/"
- secure: ThmWh7pkEHahN2Zijfr3Q3vPQlE7PPcrDHYBSrQNqibDTTZU1XbcD/yxDo1tEcTrGZkTaKzaf2Pm1vC0AUYRXhYsGWUCXn/1fr9IrZmgVXJa0nos94ZHy9P+sgyycAndkyiAYO0c8yEu4kbH432+NtKECpAVq3aVVmtscDJSHiI=
- secure: hNe88N+NImA7t63o83522zF2MpOMj48l0LKzu9D73AQo7xFMAR0G7rrksDtVnizRVhWFmRmfXF2V2vWGBbbe39a0SHPT098c7NDhqpChJtpGMFSxwRhfg8HXLPR/G0mt7+VxMtHG2hg5RPeNWOsazhLmc9lem9IjsrgXqVFVUoM=
- secure: HnHvr16NcxgN7+md2yWNYx6qvzA/k7HB5PJLp532ZVbQqOeExk/3soA8EmIobtTDKCqGAig/cxqqWNTG1NVTkDY5Bou41ReQdSE64mzRv6DmMOKdqb9txZCAfynKJMF9ggBADDdSYJ/aLu/esqBptJNRxa+AP8jYyTzxvo1XsEc=
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- alembic upgrade head
- python app.py &
notifications:
webhooks: http://project-monitor.codeforamerica.org/projects/7f784962-2d83-4ad5-a23d-a598bec3345e/status
addons:
sauce_connect: false