- npm install remark-cli remark-lint
script:
- - cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
- - RUSTC_HEAD=`git ls-remote https://github.com/rust-lang/rust.git HEAD | tr -d ",." | tr " \t" "\n" | grep -e "HEAD" -v`
- - rustup-toolchain-install-master $RUSTC_HEAD
- - rustup default $RUSTC_HEAD
- PATH=$PATH:./node_modules/.bin
- - remark -f README.md > /dev/null
+ - remark -f *.md > /dev/null
- set -e
- cargo build --features debugging
- cargo test --features debugging
after_success: |
#!/bin/bash
if [ $(uname) == Linux ]; then
- ./.github/deploy.sh
- # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
set -e
+ ./.github/deploy.sh
+ # trigger rebuild of the clippy-service, to keep it up to date with clippy itself
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
[ "$TRAVIS_BRANCH" == "master" ] &&