Merge pull request #977 from Mikaela/travis

rm .travis.runonce.bash
This commit is contained in:
Valentin Lorentz 2014-12-27 22:20:46 +01:00
commit 24879733e9
2 changed files with 0 additions and 32 deletions

View File

@ -1,30 +0,0 @@
#!/usr/bin/env bash
# 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')
# Install requirements required for only this file.
if [[ $TRAVIS == "true" ]]; then
sudo pip install sphinx msgcheck --upgrade
else
pip install sphinx msgcheck --upgrade --user
fi
# Check translations
sandbox/check_trans.py plugins/
sandbox/check_trans.py --core
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 ..

View File

@ -15,8 +15,6 @@ script:
- echo $TRAVIS_PYTHON_VERSION - echo $TRAVIS_PYTHON_VERSION
- python setup.py install - 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 - 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 .travis.runonce.bash;fi
notifications: notifications:
email: false email: false
matrix: matrix: