6 - python util/update_lints.py -c
7 - cargo build --features debugging
8 - rm -rf target/ Cargo.lock
9 - cargo test --features debugging
11 # only test regex_macros if it compiles
12 - if [[ "$(cargo build --features 'debugging test-regex_macros')" = 101 ]]; then cargo test --features 'debugging test-regex_macros'; fi
14 # trigger rebuild of the clippy-service
19 if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
20 [ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
21 [ "$TRAVIS_BRANCH" == "master" ] &&
22 [ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then
25 -H "Content-Type: application/json" \
26 -H "Accept: application/json" \
27 -H "Travis-API-Version: 3" \
28 -H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \
29 -d "{ \"request\": { \"branch\":\"master\" }}" \
30 https://api.travis-ci.org/repo/ligthyear%2Fclippy-service/requests