forked from anitab-org/portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (39 loc) · 1.05 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
34
35
36
37
38
39
40
41
sudo: true
language: python
env:
- MOZ_HEADLESS=1
addons:
firefox: "55.0"
python:
- "3.6"
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz
- tar -xzvf geckodriver-v0.20.1-linux64.tar.gz
- sudo mv geckodriver /usr/local/bin
install:
- "pip install -r requirements/dev.txt"
- pip install coveralls==0.4.4
- sudo apt-get install python-gdal
before_script:
- export SECRET_KEY=foobarbaz
- psql -c "CREATE DATABASE systersdb;" -U postgres
script:
- coverage run systers_portal/manage.py test --settings=systers_portal.settings.testing
- flake8 systers_portal
notifications:
irc:
channels: "irc.freenode.org#systers-dev"
template:
- "%{repository}@%{branch}: %{message} (%{build_url})"
on_success: change
on_failure: change
use_notice: true
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/c403378d624b2391961e
on_success: change
on_failure: always
on_start: false
after_success:
coveralls --rcfile=.coveragerc