blob: 21bea1fd61058d579b29a3b92996ae0f4b887a82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
install:
- 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
- cargo -V
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:
- cargo build --verbose -j1
- cargo test --verbose --no-run -j1
|