forked from mswart/openmensa-parsers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 992 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
language: python
python: "3.4"
sudo: required
dist: trusty
before_install:
- deactivate
install:
- sudo build_scripts/travis-install-deps.sh
before_script:
- build_scripts/travis-prepare-packaging.sh
script:
- dpkg-buildpackage -uc -us
- dpkg --info ../*.deb
- dpkg --contents ../*.deb
- sudo build_scripts/travis-install-and-setup-deb.sh
- wget --output-document=/dev/null --input-file=build_scripts/test-urls.txt
- wget --output-document=/dev/null --input-file=build_scripts/maybe-urls.txt || true
after_success:
- 'test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && build_scripts/travis-publish-package.sh'
after_script:
- sudo cat /var/log/uwsgi/app/openmensa-parsers.log
env:
global:
secure: BJRATzQDl81IRQvnz+EGz7WoDa5dHptN6VOQEuOC5/oOvGp1JlCUda/wQajCLUorbcN9pBN+FXhsKFzyOPoLg/63ANtiSKCsOvP9YZs1ZlXbu01qGiRdo1h1Qvy2W1qUrvFpkTgd3yq4gPVUmIaFs25SzOQQQqqT2kze1gv0Bac=
notifications:
email:
on_success: always
on_failure: always