12 # TRAVIS_TOKEN_CLIPPY_SERVICE
13 secure: dj8SwwuRGuzbo2wZq5z7qXIf7P3p7cbSGs1I3pvXQmB6a58gkLiRn/qBcIIegdt/nzXs+Z0Nug+DdesYVeUPxk1hIa/eeU8p6mpyTtZ+30H4QVgVzd0VCthB5F/NUiPVxTgpGpEgCM9/p72xMwTn7AAJfsGqk7AJ4FS5ZZKhqFI=
19 - npm install remark-cli remark-lint
22 - remark -f README.md > /dev/null
23 - python util/update_lints.py -c
25 - cargo build --features debugging
26 - cargo test --features debugging
27 - mkdir -p ~/rust/cargo/bin
28 - cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
29 - PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy
30 - cd clippy_lints && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
34 # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
38 if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
39 [ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
40 [ "$TRAVIS_BRANCH" == "master" ] &&
41 [ "$TRAVIS_TOKEN_CLIPPY_SERVICE" != "" ] ; then
44 -H "Content-Type: application/json" \
45 -H "Accept: application/json" \
46 -H "Travis-API-Version: 3" \
47 -H "Authorization: token $TRAVIS_TOKEN_CLIPPY_SERVICE" \
48 -d "{ \"request\": { \"branch\":\"master\" }}" \
49 https://api.travis-ci.org/repo/gnunicorn%2Fclippy-service/requests