forked from theirc/ServiceInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 957 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
language: python
sudo: false
python:
- '3.4'
addons:
postgresql: '9.3'
cache:
directories:
- $HOME/.cache/pip
- node_modules
env:
- DJANGO_SETTINGS_MODULE="service_info.settings.dev"
install:
- pip install -r requirements/dev.txt
- npm install
- npm update
before_script:
- createdb -E UTF-8 service_info -U postgres -O $USER
- psql service_info -c "CREATE EXTENSION postgis;" -U postgres
script:
- coverage run manage.py test
- coverage report -m --fail-under 60
- flake8 .
notifications:
email:
- servicemap-team@caktusgroup.com
hipchat:
rooms:
secure: d8q9OOxEIz0PMe9HJhmx2dL4VvjDs2BE/v+QLQKZ5j5VcejtZl+NMR/D2x8b/7j10Re2e5bk6Sn9obPAEvQcHePRby/i5BNR7K+MtN4Wi3cEYmCi0xEpPc2c1p+J2Tfb7EXG6Kzx2ocUKnl+nE1E7Yxn+vSgg5RTFmUw2AB6syw=
template:
- '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}
(<a href="%{build_url}">Details</a>/<a href="%{compare_url}">Change view</a>)'
format: html