diff --git a/.travis.yml b/.travis.yml index 462ef0376b..6640891100 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,10 +41,6 @@ script: - test "$TRAVIS_OS_NAME" == "linux" && make test || echo "Skipping tests" - test "$TRAVIS_OS_NAME" == "linux" && make nunit || echo "Skipping nunit tests" -# Automatically update the trait documentation and Lua API -after_success: - - test "$TRAVIS_OS_NAME" == "linux" && test $TRAVIS_PULL_REQUEST == "false" && cd packaging && ./update-wiki.sh $TRAVIS_BRANCH; cd .. - # Only watch the development branch and tagged release. branches: only: @@ -70,6 +66,7 @@ before_deploy: wget https://mirrors.edge.kernel.org/ubuntu/pool/universe/n/nsis/nsis_3.04-1_amd64.deb; sudo dpkg -i nsis-common_3.04-1_all.deb; sudo dpkg -i nsis_3.04-1_amd64.deb; + cd packaging && ./update-wiki.sh ${TRAVIS_TAG} && cd ..; fi; - export PATH=$PATH:$HOME/usr/bin - DOTVERSION=`echo ${TRAVIS_TAG} | sed "s/-/\\./g"`