forked from ecds/readux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 859 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
language: python
python:
- '3.5'
- 3.5-dev
- '3.6'
- 3.6-dev
services: postgresql
before_install:
- export DATABASE_URL=postgres://postgres@localhost:5432/travisci
- cp config/settings/local.dst config/settings/local.py
- sudo /etc/init.d/postgresql stop
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key
add -
- sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
9.5" >> /etc/apt/sources.list.d/postgresql.list'
- sudo apt-get update
- sudo apt-get install postgresql-9.5
install:
- pip install -r requirements/local.txt
script:
- py.test --cov=./apps
after_success:
- coveralls
notifications:
slack:
secure: RXQj/Zk+bbhJnO1ZVbgj6SmYBB1a7MD9gyjoEETGXVZBeP8qhtiLJFqNeAlUf0mXqyBWZvsKlFzPLzJn1o6EcB2eUJsKaTFsCmRUwcdMDRddvAlEkyNfQ0zJq91LGo8v78jmslZvMOA9HPVZvOmlIGdgGax189AC3UJ5Vk1Mmpc=