Commit a7e4ad61 authored by Godefroid Chapelle's avatar Godefroid Chapelle

Problem: Travis security on PRs break jobs

Solution: avoid using encrypted variables when on PR
parent d685efdf
......@@ -64,7 +64,7 @@ notifications:
- buildout-development@googlegroups.com
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/docker_login_on_non_pull_requests.sh; fi'
- ./ci_build.sh
env:
......
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
Avoid broken jobs on Travis because of security on PRs
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment