# Notes: # # eval `ssh-agent` code is needed due to: # - https://github.com/rust-lang/cargo/issues/2078 # - https://discuss.circleci.com/t/cargo-build-fails-on-fresh-install/1102/3 # # "cargo test --color=never -- --color never" is needed to disable the # colored output Cargo would usually output. CircleCI doesn't display # this at all (displays the escape characters literally). dependencies: override: - bash <(curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh) --yes - multirust update stable - multirust update nightly - multirust update beta cache_directories: - "~/.multirust" test: override: - eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && multirust default stable && cargo test --color=never -- --color never - eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && multirust default nightly && cargo test --color=never -- --color never - eval `ssh-agent` && ssh-add /home/ubuntu/.ssh/id_circleci_github && multirust default beta && cargo test --color=never -- --color never