Revert "travis-push: test master in .travis.yml"

This reverts commit a6f2caa386.
This commit is contained in:
Tony Theodore 2018-03-19 01:32:41 +11:00
parent a6f2caa386
commit 3bf6deaaf6
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ sudo: false
script:
- make docs/build-matrix.html docs/packages.json OS_SHORT_NAME=disable-native-plugins MXE_TARGETS="`echo {i686-w64-mingw32,x86_64-w64-mingw32}.{static,shared}`"
- if [ "$GH_TOKEN" != "" ]; then [ `git rev-parse --abbrev-ref HEAD` == master ] && ./tools/travis-push.sh; fi
- if [ "$GH_TOKEN" != "" ]; then ./tools/travis-push.sh; fi
# Package wxwidgets is downloaded for more than 10 minutes,
# Travis failed because of no output for 10 minutes.
- while true; do sleep 60; echo -n ' '; done &

View File

@ -9,4 +9,4 @@ git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
git remote set-url origin 'https://github.com/mxe/mxe.git'
git commit -a -m 'Update packages.json & build-matrix.html' || true
git push origin HEAD:master
[ `git rev-parse --abbrev-ref HEAD` == master ] && git push origin HEAD:master