diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 15:23:46 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 16:11:50 -0700 |
commit | 45231bcffc2fc46be175d6be7d2efddcbdcff3bd (patch) | |
tree | 1483bb926347af9f1760616ba5ea2e6bb8c554a4 /appveyor.yml | |
parent | af0d10659e26f42296162e485629e50fe1ffaee7 (diff) | |
download | ssh2-rs-45231bcffc2fc46be175d6be7d2efddcbdcff3bd.zip |
Tweak appveyor config
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 15acef9..21bea1f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,15 @@ install: - - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-beta-x86_64-pc-windows-gnu.exe' + - ps: | + if (!(Test-Path 'x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z')) { + Start-FileDownload 'http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-win32/seh/x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z' + } + - 7z x x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z > nul + - set PATH=%PATH%;C:\projects\ssh2-rs\mingw64\bin + - set PATH=%PATH%;C:\MinGW\msys\1.0\bin + - ps: | + if (!(Test-Path 'rust-1.0.0-beta-x86_64-pc-windows-gnu.exe')) { + Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-beta-x86_64-pc-windows-gnu.exe' + } - rust-1.0.0-beta-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Rust" - SET PATH=%PATH%;C:\Rust\bin - rustc -V @@ -7,8 +17,10 @@ install: cache: - x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z + - rust-1.0.0-beta-x86_64-pc-windows-gnu.exe build: false test_script: - - C:\MinGW\msys\1.0\bin\sh --login /c/projects/ssh2-rs/.appveyor-mingw-w64.sh + - cargo build --verbose -j1 + - cargo test --verbose --no-run -j1 |