* move to cargo clippy instead of using the clippy plugin fixes #729 * non-exectable scripts must be run with `sh` * don't build serde in the clippy travis job * only run clippy tests if installing clippy succeeds * why is travis so picky? * no more serde_codegen * serde_test_suite_deps has no features * don't use empty loops, llvm optimizes them to undefined behaviour * abort the clippy job when clippy lints are triggered * use caches on travis to speed up builds * why are we even using `travis-cargo`? * need to reinstall clippy frequently due to nightly updates * command line tools are hard
26 lines
369 B
YAML
26 lines
369 B
YAML
sudo: false
|
|
language: rust
|
|
cache: cargo
|
|
|
|
# run builds for all the trains (and more)
|
|
rust:
|
|
- 1.13.0
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
|
|
matrix:
|
|
include:
|
|
- rust: nightly
|
|
env: CLIPPY=true
|
|
|
|
before_script:
|
|
- pip install 'travis-cargo<0.2' --user
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
|
|
script: sh travis.sh
|
|
|
|
env:
|
|
global:
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|