Really fix Cargo path on AppVeyor

This commit is contained in:
Peter Wagenet 2017-03-14 16:32:21 -07:00
parent db329ef340
commit 02f6b66220
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# TODO: Maybe add caching
cache:
- '%HOME%\.cargo -> .appveyor.yml'
- '%HOMEDRIVE%%HOMEPATH%\.cargo -> .appveyor.yml'
environment:
EXAMPLES: console membership turbo_blank
@ -16,10 +16,10 @@ environment:
RUST_HOST: x86_64-pc-windows-msvc
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Ruby%RUBY_VERSION%\DevKit\bin;C:\Ruby%RUBY_VERSION%\DevKit\mingw\bin;%HOME%\.cargo\bin;%APPVEYOR_BUILD_FOLDER%\ruby\windows_build;%PATH%
- set PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Ruby%RUBY_VERSION%\DevKit\bin;C:\Ruby%RUBY_VERSION%\DevKit\mingw\bin;%HOMEDRIVE%%HOMEPATH%\.cargo\bin;%APPVEYOR_BUILD_FOLDER%\ruby\windows_build;%PATH%
- echo %PATH%
- set HELIX_ROOT=%APPVEYOR_BUILD_FOLDER%
- IF NOT EXIST %HOME%\.cargo\bin (curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly --default-host %RUST_HOST% -y)
- IF NOT EXIST %HOMEDRIVE%%HOMEPATH%\.cargo\bin (curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly --default-host %RUST_HOST% -y)
- bash ./scripts/ci-install
test_script: