mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-17 23:52:46 +01:00
.travis.runonce.bash: care about exit status
Squashed commit of the following: commit aa8823331ebccebdca83810545b167deb2e6303e Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com> Date: Tue Jul 15 20:47:29 2014 +0300 .travis.yml: remove duplicate x commit ef3b363aa6b692c771733f1b4a9d352c9224f3d0 Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com> Date: Sun Jul 13 22:32:10 2014 +0300 .travis.runonce.bash: add spaces commit 004905729f954b5368510098fa2cac2a7181964a Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com> Date: Sun Jul 13 22:28:48 2014 +0300 .travis.runonce.bash: pipe msgcheck to true commit d5bdeac5f7754c9443c983f374d41a2f9bc0d1b3 Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com> Date: Sun Jul 13 11:04:40 2014 +0300 .travis.runonce.bash: remove RTFD There is now hook for it at GitHub. commit e1dab24f0f6f1c406b2284298a2e8ab3908bdc23 Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com> Date: Sat Jul 12 23:34:14 2014 +0300 .travis.runonce.bash: care about exit status This excludes msgcheck, because it's over-sensitive and always returns exit value which logic I don't remember unless everything is correct according to it. Oh and the behaviour before this commit allows everything to fail without having exit code which shows that it failed and we wouldn't notice any failures in near future.
This commit is contained in:
parent
0a1bf6db22
commit
5446ac13c5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user