-
Notifications
You must be signed in to change notification settings - Fork 52
/
.travis.yml
33 lines (33 loc) · 1.36 KB
/
.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
dist: xenial
services:
- postgresql
env:
global:
- MOZ_HEADLESS=1
addons:
postgresql: '9.4'
firefox: latest
apt:
packages:
firefox-geckodriver
#before_script:
#- psql -U postgres -c "create user decide password 'decide'"
#- psql -U postgres -c "create database test_decide owner decide"
#- psql -U postgres -c "ALTER USER decide CREATEDB"
language: python
python:
- '3.6'
install:
- pip install -r requirements.txt
- pip install selenium
script:
- cd decide
- cp travis_local_settings.py local_settings.py
- python ./manage.py test census --keepdb -v 2
- rm local_settings.py
#deploy:
# provider: heroku
# app: andres-ci-example1
# strategy: git
# api_key:
# secure: qXjCxLfGvBpsLoyjNMzaDl/cqkPYUixaloGekebURH62gxoy2Vp2mH0eyYojBgZqS/pQgpWx2ICw7oeuDCuojlDZ3nh4BSRaMowbrE5FsWl+EIAHtCg5ZHML9pMgPJofaXsmGnXsFVL+5tT2idD1ifLXRjIbvrnZxnYUU5lewq0ak9r/hXzkiwJCtujPeoH1ws2F2uhiU67l9Vnf0IE8yTAZvyIrVxcKE6Qx81sbjdg0HcwznHcgkfmyWXZL03dq+o7+jpU3mb8j7TJOdUfMvOPqZBb57uT+vbegE3u/MXyTiuX8qfkFllhuvOHJkWdEZlGbZsx2kNssihQjf/y8ezSOWJAcakmCLXDSpUX7xZCURSuv9lhD/yzTmS2J9W5uWzZX6efnP3KwWufDm8ww5IElw4zmAVmqhtVTdqJu3pcFmLWnqMhL8nEKL7QdWIP5vsXRiu2wZahs9UGIuFhxLEHSvoWABCxT0bXO/UARMmkuSBWYlYwkuWO7bIUbeirSCyLUt2EWnYbLVe81/ZlcJrnP1aChk7O/WZJrIn+WURPR6F2EHdWnsTBg4lHXLlZQcSF8CyIT3t4uanA1mFpVk5sDLfxtE6pRE7QlmFeDfNN3ZaTXhQg9wGlc+sH5LGWY0LjM2ZWmFYyGv06Zcyn6v4PmTpUBa5dSs18dOCLl9YM=