forked from jayesh92/vms
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (29 loc) · 813 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
language: python
dist: xenial
env:
- MOZ_HEADLESS=1
addons:
firefox: "60.0"
python:
- "3.6.5"
services: postgresql
- xvfb
before_install:
- bash setup-geckodriver.sh
install:
- pip install -r requirements.txt
before_script:
- psql -c "create role vmsadmin with createrole createdb login password '0xdeadbeef';" -U postgres
- psql -c "CREATE DATABASE vms;" -U postgres
- sleep 3
- cd vms
- cp .env.example .env
script:
- flake8
- python manage.py makemigrations cities_light auth volunteer administrator organization event job shift registration
- python manage.py migrate --noinput --traceback --settings=vms.settings
- python manage.py cities_light
- coverage run --source='.' manage.py test -v 2
- coverage report -m
after_success:
coveralls --rcfile=.coveragerc