Skip to content

Commit

Permalink
Fix Travis to work (#984)
Browse files Browse the repository at this point in the history
with multiline commit messages
  • Loading branch information
ruseinov authored Aug 22, 2019
1 parent 4a00f09 commit daf88af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ script:
make cover;
./coverage/upload.sh;
fi;
- printenv | grep -Ev "PATH|path|GEM" > env.list
- printenv TRAVIS_COMMIT_MESSAGE > commit.msg
- unset TRAVIS_COMMIT_MESSAGE && printenv | grep -Ev "PATH|path|GEM" > env.list
- export TRAVIS_COMMIT_MESSAGE=`cat commit.msg` && rm -rf commit.msg
- docker run -it --rm --env-file env.list -v "$(pwd):/usr/src/app" iov1ops/danger:latest > danger.out; cat danger.out
- if [[ "$TRAVIS_GO_VERSION" == "$MAIN_GO_VERSION" && "$TRAVIS_OS_NAME" == "linux" ]]; then
release_latest=$( [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_TAG" == "" && "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]] && echo "yes" || echo "no" );
Expand Down

0 comments on commit daf88af

Please sign in to comment.