Skip to content
Permalink
Browse files

Travis cli install + proper config build trigger (#55)

* Travis install + proper config

* Install travis gem only within the condition branch=master
  • Loading branch information...
maartenvanderhoef committed Mar 25, 2019
1 parent 5fda659 commit 673da4085f38ad615e6685b9e81867b426ca3b70
Showing with 2 additions and 1 deletion.
  1. +2 −1 .travis.yml
@@ -21,11 +21,12 @@ script:
after_script:
- |
if [ "$TRAVIS_BRANCH" == "master" ] ; then
gem install travis
if git diff --name-only $TRAVIS_COMMIT_RANGE airship.tf | grep -qE '(\.md$)|(\.rst$)'
then
echo "There appear to be docs in this commit. Thank you.!"
curl -LO https://raw.github.com/maartenvanderhoef/travis-dependent-builds/master/trigger.sh
chmod +x trigger.sh
./trigger.sh stephanmg downstream master $TRAVIS_ACCESS_TOKEN
./trigger.sh doingcloudright airship.tf master $TRAVIS_ACCESS_TOKEN
fi
fi

0 comments on commit 673da40

Please sign in to comment.
You can’t perform that action at this time.