mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
I fail at YAML
This commit is contained in:
parent
d2738e345a
commit
e457cd9c26
1 changed files with 8 additions and 11 deletions
|
@ -42,18 +42,16 @@ script:
|
||||||
- cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
|
- cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
|
||||||
- set +e
|
- set +e
|
||||||
|
|
||||||
after_success:
|
after_success: |
|
||||||
- |
|
|
||||||
if [ $(uname) == Linux ]; then
|
if [ $(uname) == Linux ]; then
|
||||||
./.github/deploy.sh
|
./.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
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
|
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
|
||||||
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
|
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
|
||||||
[ "$TRAVIS_BRANCH" == "master" ] &&
|
[ "$TRAVIS_BRANCH" == "master" ] &&
|
||||||
[ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then
|
[ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then
|
||||||
|
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Accept: application/json" \
|
-H "Accept: application/json" \
|
||||||
|
@ -61,7 +59,6 @@ after_success:
|
||||||
-H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \
|
-H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \
|
||||||
-d "{ \"request\": { \"branch\":\"master\" }}" \
|
-d "{ \"request\": { \"branch\":\"master\" }}" \
|
||||||
https://api.travis-ci.org/repo/gnunicorn%2Fclippy-service/requests
|
https://api.travis-ci.org/repo/gnunicorn%2Fclippy-service/requests
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Ignored"
|
echo "Ignored"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue