Download precompiled cargo-make in CI.

Newer versions of `cargo-make` drop support for rust 1.21.0. We
still support 1.21.0, so we'll used a precompiled binary
in CI until we drop support for 1.21.0.

Fixes https://github.com/graphql-rust/juniper/issues/191
This commit is contained in:
Christian Legnitto 2018-05-30 13:44:01 -07:00
parent f2d228b8ae
commit 5c293c8c08
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,9 @@ env:
- CARGO_MAKE_RUN_CODECOV=true - CARGO_MAKE_RUN_CODECOV=true
script: script:
- cargo install -f --debug cargo-make - mkdir -p ~/.cargo/bin
- "curl -L https://bintray.com/sagiegurari/cargo-make/download_file?file_path=cargo-make_v0.11.0 -o ~/.cargo/bin/cargo-make"
- chmod +x ~/.cargo/bin/cargo-make
- cargo make workspace-ci-flow --no-workspace - cargo make workspace-ci-flow --no-workspace
before_deploy: before_deploy:

View file

@ -30,7 +30,6 @@ install:
- cargo -V - cargo -V
- cargo install --debug cargo-make - cargo install --debug cargo-make
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents # 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
# the "directory does not contain a project or solution file" error. # the "directory does not contain a project or solution file" error.
# source: https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml#L113 # source: https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml#L113
@ -38,4 +37,3 @@ build: false
test_script: test_script:
- cargo make workspace-ci-flow --no-workspace - cargo make workspace-ci-flow --no-workspace