-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (32 loc) · 857 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
43
language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- pip install psycopg2
- pip install django
before_script:
- psql -c 'create database travis_postgis;' -U postgres
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d travis_postgis
script:
- cd travis_test_project
- python manage.py migrate
- python manage.py loadmunicipios --state RO
- python manage.py checkmunicipios --state RO
- python manage.py deletemunicipios
- python manage.py loadmunicipios --state AP --state AC
- python manage.py checkmunicipios --state AP --state AC
- python manage.py deletemunicipios
- python manage.py loadmunicipios
- python manage.py checkmunicipios
- python manage.py deletemunicipios