Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run travis on rustc master instead of nightlies #2551

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
- travis_retry rustup-toolchain-install-master $RUSTC_HEAD
- rustup default $RUSTC_HEAD
- PATH=$PATH:./node_modules/.bin
- remark -f *.md > /dev/null
- set -e
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ install:
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
- cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
- set 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%
- set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\%RUSTC_HEAD%\bin
- rustc -V
- cargo -V

Expand Down