Don't run deploy script in integration tests
The deploy.sh was causing random integration tests to fail, possibly due to
multiple jobs trying to push to the same repo/branch at the same time?
The error message is:
+git push git@github.com:rust-lang-nursery/rust-clippy.git gh-pages
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
To github.com:rust-lang-nursery/rust-clippy.git
! [rejected] gh-pages -> gh-pages (fetch first)
error: failed to push some refs to 'git@github.com:rust-lang-nursery/rust-clippy.git'
hint: Updates were rejected because the re
The travis log is always truncated in similar ways.
Some examples:
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/383325083#L1076-L1082
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/382711561#L2768-L2773
This commit is contained in:
parent
0a368b467e
commit
391562706d
1 changed files with 3 additions and 1 deletions
|
|
@ -72,7 +72,9 @@ after_success: |
|
|||
#!/bin/bash
|
||||
if [ $(uname) == Linux ]; then
|
||||
set -ex
|
||||
./.github/deploy.sh
|
||||
if [ -z ${INTEGRATION} ]; then
|
||||
./.github/deploy.sh
|
||||
fi
|
||||
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
|
||||
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
|
||||
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue