-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
29 lines (29 loc) · 1.08 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
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:
# disabled because apt.dxtt.de currently always returns 406 Not Acceptable (see mswart/openmensa-parsers#89)
# - '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