7 # TRAVIS_TOKEN_CLIPPY_SERVICE
8 secure: dj8SwwuRGuzbo2wZq5z7qXIf7P3p7cbSGs1I3pvXQmB6a58gkLiRn/qBcIIegdt/nzXs+Z0Nug+DdesYVeUPxk1hIa/eeU8p6mpyTtZ+30H4QVgVzd0VCthB5F/NUiPVxTgpGpEgCM9/p72xMwTn7AAJfsGqk7AJ4FS5ZZKhqFI=
11 - python util/update_lints.py -c
12 - cargo build --features debugging
13 - rm -rf target/ Cargo.lock
14 - cargo test --features debugging
16 # only test regex_macros if it compiles
17 - if [[ "$(cargo build --features 'debugging test-regex_macros')" = 101 ]]; then cargo test --features 'debugging test-regex_macros'; fi
19 # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
24 if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
25 [ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
26 [ "$TRAVIS_BRANCH" == "master" ] &&
27 [ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then
30 -H "Content-Type: application/json" \
31 -H "Accept: application/json" \
32 -H "Travis-API-Version: 3" \
33 -H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \
34 -d "{ \"request\": { \"branch\":\"master\" }}" \
35 https://api.travis-ci.org/repo/ligthyear%2Fclippy-service/requests