Improve travis.yml stylecheck

This commit is contained in:
Markus Unterwaditzer 2016-03-04 14:28:09 +01:00
parent 3eee5a55a1
commit 5b1128611e

View file

@ -54,8 +54,9 @@ style:
flake8 flake8
! grep -ri syncroniz */* ! grep -ri syncroniz */*
sphinx-build -W -b html ./docs/ ./docs/_build/html/ sphinx-build -W -b html ./docs/ ./docs/_build/html/
$(MAKE) travis-conf python3 scripts/make_travisconf.py | \
git diff --exit-code diff -q .travis.yml - > /dev/null || \
(echo 'travis.yml is outdated. Run `make travis-conf`.' && false)
travis-conf: travis-conf:
python3 scripts/make_travisconf.py > .travis.yml python3 scripts/make_travisconf.py > .travis.yml