Skip to content

Commit

Permalink
travis: only run this check on develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Oct 4, 2018
1 parent 688328d commit 97c5331
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ after_success:
--exclude-pattern=".*CMakeFiles.*"
--exclude-pattern=".*_test.*";
fi
# Eventually, this should also have: "if [[ $TRAVIS_PULL_REQUEST == “false” ]] && [[ $TRAVIS_BRANCH == “develop” ]]"
# For now let's test this
- if [[ "${BUILD_TARGET}" = "coverage_build" ]]; then
- if [[ "${BUILD_TARGET}" = "coverage_build" ]] && [[ $TRAVIS_PULL_REQUEST == “false” ]] && [[ $TRAVIS_BRANCH == “develop” ]]; then
git config user.email "dronecodesdkbot@gmail.com";
git config user.name "DronecodeSDKBot";
git remote set-url origin https://${GH_TOKEN}@github.com/Dronecode/DronecodeSDK.git;
Expand Down

0 comments on commit 97c5331

Please sign in to comment.