-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 979 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
language: python
python:
- "3.7"
addons:
postgresql: "9.5"
env: >
SECRET_KEY='dummy_secret'
EMAIL_HOST_PASSWORD='dummy_password'
DATABASE_URL=postgres://postgres@localhost/travis_ci_test
PAYPAL_TEST=True
LOG_FOLDER=.
TRAVIS=True
HEROKU=False
SIMPLECRYPT_PASSWORD=secret
ENTRIES_OPEN_DATE=01/09/2016
ENTRIES_CLOSE_DATE=30/10/2016
LATE_CATEGORIES_ENTRIES_CLOSE_DATE=30/10/2016
CURRENT_ENTRY_YEAR=2017
FINAL_DATE=20/3/2018
FINAL_TIMES=2pm - 7pm
install:
- pip install -r requirements.txt
- pip install coveralls
- pip install psycopg2
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- python manage.py migrate
script:
- coverage run --source=poleperformance,entries,accounts,activitylog,payments,ppadmin,web --omit=../*migrations*,../*tests*,../*wsgi*,../*__init__* manage.py test
after_success:
coveralls