2016-06-16 17:02:55 +02:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
2016-06-28 17:13:21 +02:00
|
|
|
cert:
|
|
|
|
secure: ESPpYVVAMG1fbJx6kq4ct/g9SQTXac4Hs6xXr6Oh4Zrk2dwYglNjxmzErdPnvu7gs/gekzrJ6KEQHYRc+5+4dKg6rRADQ681NLVx9vOggBs=
|
|
|
|
certpass:
|
|
|
|
secure: 0BgXJqxq9Ei34/hZ7121FQ==
|
|
|
|
keyfile: C:\users\appveyor\Certificates.p12
|
|
|
|
|
2016-06-28 16:10:21 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^beta-.*$/
|
|
|
|
- /^stable-.*$/
|
|
|
|
- /^beta$/
|
|
|
|
- /^stable$/
|
|
|
|
|
2016-06-16 17:02:55 +02:00
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2016-07-11 10:43:02 +02:00
|
|
|
- ps: Install-Product node 6
|
2016-07-16 18:37:03 +02:00
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.10.0-x86_64-pc-windows-msvc.exe"
|
2016-06-16 17:02:55 +02:00
|
|
|
- ps: Start-FileDownload "https://github.com/ethcore/win-build/raw/master/SimpleFC.dll" -FileName nsis\SimpleFC.dll
|
|
|
|
- ps: Start-FileDownload "https://github.com/ethcore/win-build/raw/master/vc_redist.x64.exe" -FileName nsis\vc_redist.x64.exe
|
2016-07-16 18:37:03 +02:00
|
|
|
- rust-1.10.0-x86_64-pc-windows-msvc.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
2016-06-28 17:13:21 +02:00
|
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin;C:\Program Files (x86)\NSIS;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin
|
2016-06-16 17:02:55 +02:00
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
2016-07-11 10:43:02 +02:00
|
|
|
- node -v
|
|
|
|
- npm -v
|
2016-06-16 17:02:55 +02:00
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2016-07-13 11:58:55 +02:00
|
|
|
- cargo test --verbose --release --no-default-features
|
2016-06-16 17:02:55 +02:00
|
|
|
|
|
|
|
after_test:
|
2016-07-13 11:58:55 +02:00
|
|
|
- cargo build --verbose --release --no-default-features
|
2016-06-28 17:13:21 +02:00
|
|
|
- ps: if($env:cert) { Start-FileDownload $env:cert -FileName $env:keyfile }
|
2016-06-29 00:58:15 +02:00
|
|
|
- ps: if($env:cert) { signtool sign /f $env:keyfile /p $env:certpass target\release\parity.exe }
|
|
|
|
- makensis.exe nsis\installer.nsi
|
2016-06-28 20:02:15 +02:00
|
|
|
- ps: if($env:cert) { signtool sign /f $env:keyfile /p $env:certpass nsis\installer.exe }
|
2016-06-16 17:02:55 +02:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: nsis\installer.exe
|
|
|
|
name: Windows Installer (x86_64)
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- target
|
|
|
|
- C:\users\appveyor\.cargo -> appveyor.yml
|