Skip to content

Commit

Permalink
use workaround from rust-lang/cargo#3900
Browse files Browse the repository at this point in the history
  • Loading branch information
jbg committed May 21, 2017
1 parent 3103aa6 commit aa1c16f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
machine:
pre:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- sed -i 's/github/git-non-exist-hub/g' ~/.gitconfig
environment:
PATH: ${HOME}/.cargo/bin:${PATH}
dependencies:
override:
- sed -i 's~https://github.com/~https://github.com~' ~/.gitconfig
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- ~/.cargo/bin/rustup install stable
- ~/.cargo/bin/rustup install nightly
- rustup install stable
- rustup install nightly
test:
override:
- ~/.cargo/bin/rustup run stable cargo test
- ~/.cargo/bin/rustup run nightly cargo test
- rustup run stable cargo test
- rustup run nightly cargo test

0 comments on commit aa1c16f

Please sign in to comment.