mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
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
|
#!/bin/bash
|
||||||
if [ $(uname) == Linux ]; then
|
if [ $(uname) == Linux ]; then
|
||||||
set -ex
|
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
|
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
|
||||||
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
|
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
|
||||||
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
|
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
|
||||||
|
|
Loading…
Reference in a new issue