Update travis

This commit is contained in:
Koen Kanters
2018-04-26 19:56:00 +02:00
parent 0a9f2d497a
commit 305fb70d78
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ install:
- npm install
script:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; .travis/update-wiki.sh; fi
- .travis/update-wiki.sh
env:
global:
+8 -2
View File
@@ -13,5 +13,11 @@ update_wiki() {
git push origin
}
setup_git
update_wiki
# Only update wiki if on master branch and not pull request
if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]
then
setup_git
update_wiki
else
echo "Not updating wiki, triggered by pull request or not on master branch"
fi