summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-29 15:23:46 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-29 16:11:50 -0700
commit45231bcffc2fc46be175d6be7d2efddcbdcff3bd (patch)
tree1483bb926347af9f1760616ba5ea2e6bb8c554a4 /appveyor.yml
parentaf0d10659e26f42296162e485629e50fe1ffaee7 (diff)
downloadssh2-rs-45231bcffc2fc46be175d6be7d2efddcbdcff3bd.zip
Tweak appveyor config
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml16
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