Add RUST_SRC_PATH to travis, and switch to latest nightly
language: rust
rust:
- - nightly-2016-11-25
+ - nightly
+ - beta
- stable
cache: cargo
@@ -9,7 +10,9 @@ cache: cargo
before_script:
- pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH
+ - rustup component add rust-src
+ - export RUST_SRC_PATH=`rustc --print sysroot`/lib/rustlib/src/rust/src
script:
- - travis-cargo --skip nightly-2016-11-25 test
- - travis-cargo --only nightly-2016-11-25 test -- --features clippy
+ - travis-cargo --skip nightly test
+ - travis-cargo --only nightly test -- --features clippy
