From e457cd9c269e5a826d6dc0eb520e841996a9d7e9 Mon Sep 17 00:00:00 2001 From: Andre Bogus Date: Sun, 8 Jan 2017 17:35:49 +0100 Subject: [PATCH] I fail at YAML --- .travis.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2547764192..3cad8a7b7a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,26 +42,23 @@ script: - cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd .. - set +e -after_success: -- | +after_success: | if [ $(uname) == Linux ]; then ./.github/deploy.sh -# 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 #!/bin/bash set -e if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then - curl -s -X POST \ - -H "Content-Type: application/json" \ - -H "Accept: application/json" \ - -H "Travis-API-Version: 3" \ - -H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \ - -d "{ \"request\": { \"branch\":\"master\" }}" \ - https://api.travis-ci.org/repo/gnunicorn%2Fclippy-service/requests - + -H "Content-Type: application/json" \ + -H "Accept: application/json" \ + -H "Travis-API-Version: 3" \ + -H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \ + -d "{ \"request\": { \"branch\":\"master\" }}" \ + https://api.travis-ci.org/repo/gnunicorn%2Fclippy-service/requests else echo "Ignored" fi