commit 3afba9148b8d3d193926848d6fb5cef252d912a5 parent 8472221e45f2ddb4e95600252ec8d1f331477966 Author: Marcel <mtrnord1@gmail.com> Date: Mon, 16 Jan 2017 17:48:14 +0100 (circleci) try to fix the crates promblem Diffstat:
| M | circle.yml | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/circle.yml b/circle.yml @@ -1,7 +1,16 @@ machine: pre: - curl -sS https://static.rust-lang.org/rustup.sh | sudo sh +dependencies: + pre: + - git clone --bare https://github.com/rust-lang/crates.io-index.git + - mkdir ${HOME}/.cargo + - | + cat >> ${HOME}/.cargo/config <<EOF + [registry] + index = "file://${HOME}/midas/crates.io-index.git" + EOF test: override: - - eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && cargo build -v - - eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && cargo test -v + - cargo build -v + - cargo test -v