From dada007e6185315c92d9881c2b5d4d342f20ad91 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 27 Dec 2014 23:17:01 +0200 Subject: [PATCH] rm .travis.runonce.bash It was supposed to perform tests that are only wanted to run once and it was also supposed to be possible to run outside of Travis, but no one ever looks in it at Travis and no one runs it manually. Even I use `sandbox/check_trans.py`. --- .travis.runonce.bash | 30 ------------------------------ .travis.yml | 2 -- 2 files changed, 32 deletions(-) delete mode 100755 .travis.runonce.bash diff --git a/.travis.runonce.bash b/.travis.runonce.bash deleted file mode 100755 index cfb8f953c..000000000 --- a/.travis.runonce.bash +++ /dev/null @@ -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 .. diff --git a/.travis.yml b/.travis.yml index a74d0c223..bf60d76d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,6 @@ script: - echo $TRAVIS_PYTHON_VERSION - 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 .travis.runonce.bash;fi notifications: email: false matrix: