Use rustc from latest merged PR instead of nightly

This commit is contained in:
Oliver Schneider 2018-03-18 15:41:39 +01:00
parent cb7af65e28
commit 0fc1d8874c
No known key found for this signature in database
GPG Key ID: 1D5CB4FC597C3004

View File

@ -30,6 +30,10 @@ install:
- 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
- set -e