diff --git a/.travis.runonce.bash b/.travis.runonce.bash index 3498023c3..cfb8f953c 100755 --- a/.travis.runonce.bash +++ b/.travis.runonce.bash @@ -2,6 +2,10 @@ # This script does the things that we want Travis to do only once, not in # every possible build. +# Care about exit status +set -x +set -e + # Set environment # Which branch are we on? branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') @@ -16,14 +20,11 @@ fi # Check translations sandbox/check_trans.py plugins/ sandbox/check_trans.py --core -msgcheck -flwW locales/*.po -msgcheck -flwW plugins/*/*/*.po +msgcheck -flwW locales/*.po || true +msgcheck -flwW plugins/*/*/*.po || true # Check documentation cd docs # Add -W to spinx-build when the documentation doesn't error! sphinx-build -n -b html -d _build/doctrees . _build/html cd .. - -# Notify read the docs -curl -X POST http://readthedocs.org/build/limnoria diff --git a/.travis.yml b/.travis.yml index 085aa67cc..b55e2c0f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: - python setup.py install - supybot-test test --plugins-dir=./build/lib*/supybot/plugins/ --no-network --disable-multiprocessing --exclude=./build/lib*/supybot/plugins/Scheduler --exclude=./build/lib*/supybot/plugins/Filter after_success: - - if [ "$TRAVIS_PYTHON_VERSION" = "3.4" ]; then bash -x .travis.runonce.bash;fi + - if [ "$TRAVIS_PYTHON_VERSION" = "3.4" ]; then bash .travis.runonce.bash;fi notifications: on_success: never on_failure: never