diff --git a/.travis.runonce.bash b/.travis.runonce.bash index 6e4ac94af..ec78e1aa8 100755 --- a/.travis.runonce.bash +++ b/.travis.runonce.bash @@ -6,6 +6,13 @@ # 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 diff --git a/requirements.txt b/requirements.txt index 3aa28cb60..35b7e8be8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,3 @@ python-gnupg feedparser sqlalchemy SocksiPy-branch -msgcheck -sphinx