forked from skylines-project/skylines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 846 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
41
42
language: python
python:
- 2.7
services:
- postgresql
install:
# Install SkyLines Python dependencies
- pip install -e .
# Install testing dependencies
- pip install -r requirements.txt
before_script:
# Create the testing database
- psql -U postgres -c 'CREATE DATABASE skylines_test;'
# Install PostGIS extension into the database
- psql -U postgres -d skylines_test -c 'CREATE EXTENSION postgis;'
# Install fuzzystrmatch extension into the database
- psql -U postgres -d skylines_test -c 'CREATE EXTENSION fuzzystrmatch;'
script:
# Generate asset files
- ./manage.py assets build
# Run the test suite
- py.test
notifications:
email:
on_failure: change
irc:
channels:
- "irc.freenode.org#skylines"
on_success: change
on_failure: always
use_notice: true
skip_join: true