-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (38 loc) · 1.49 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
language: python
python:
- '3.5'
env:
- DJANGO_SETTINGS_MODULE=ofm_helper.settings.windows
install:
- pip install -r requirements.txt
- pip install -r travis_requirements.txt
- pip install coveralls
- mkdir database
- mkdir logs
script:
- "./manage.py migrate"
- coverage run --branch --source . manage.py test
- py.test --flakes
- py.test --pep8
- py.test --mccabe -m mccabe
- py.test --pylint -m pylint --ignore=core/migrations --ignore=users/migrations --ignore=manage.py
notifications:
email:
recipients:
on_success: change
on_failure: always
after_success: coveralls
before_deploy:
- ./scripts/create_release.sh
deploy:
provider: releases
api_key:
secure: L2wniOBoJYeLxb3zfCDJv/JHVtcAtoEwOLeLXCB8b4B0/Ndjg2ZwovE/GtzoRLC6i43V7FFiwMdrq3UYKdAQ0GNXGAcwq9bqktArHkndUy/mm4VuRrWqTNKUtbG5xdsnLaVvjcGdMIRj+Ty+acqYpm/t2DcJYR3M2nJkY26kGeTFwrAJa8nAIw49LYOPFA58V5TUhjyabXIZmuI3rZb7RjNo8tDSUscmzLBLK4snaqaupyp/THCee0ZlMYnsZlNOvaEu3CQ6vrKO7qgCT/0KrMr+YQo4kuZnavojK9TDTaEbcYdi1uxY1JQEksOKqHKrE89W/KI75RJhMjs3lgBcAg4l/xxWTZMtVHlUBGQqoOJmOg6unsAeVqdF1k+mkHZHUreNR3OL9809U626dAvS4GLvbNt9fy7cFeGqQVsygiPY7bpNBlM8LchMDrmQcZ04Ul9IV4ZvYY5/4E0OTSJ4ngNzhN8g9mYAn89OMuMR7mdePg3ix/4eFK9W1vfdIvEa1hyaQRAw8i+lHKK8hFOHPP4DRPgylgWnoCmK/fLjqfIAl6gFcx5Tfp/n/YRd30XQk9hnH7NKM/GRsg+TtkStZdG0oZv5ZOIusW012fQ1jc/m7nlzOPzGVR7AOr4+B0BsBrTQG9m9zOU7rbnKPPL+lpOzlF41IK02BgegkQqydOA=
on:
repo: WiSchLabs/ofm_helper
skip_cleanup: true
file: ofm_helper.zip
on:
tags: true