forked from certsocietegenerale/FIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 790 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
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- "2.7"
dist: trusty
group: edge
addons:
apt:
packages:
# General dependencies
- python-dev
- python-pip
- python-lxml
- git
- libxml2-dev
- libxslt1-dev
- libz-dev
install:
- pip install -U pip
- pip install -r requirements.txt
- cp fir/config/installed_apps.txt.sample fir/config/installed_apps.txt
- ./manage.py migrate
script:
- ./manage.py loaddata incidents/fixtures/seed_data.json
- ./manage.py loaddata incidents/fixtures/dev_users.json
- ./manage.py runserver &
- sleep 20
- curl -L http://127.0.0.1:8000
- sleep 10
notifications:
email:
on_success: change
on_failure: change