forked from pact-foundation/pact-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
41 lines (36 loc) · 1.02 KB
/
appveyor.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
environment:
RUST_BACKTRACE: 1
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
- TARGET: i686-pc-windows-gnu
install:
- appveyor-retry appveyor DownloadFile "https://static.rust-lang.org/rustup/dist/%TARGET%/rustup-init.exe" -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
build: false
build_script:
- rustup show
- rustc -V
- cargo -V
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_matching"
- cargo build
- cargo test
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_mock_server"
- cargo build
- cargo test
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_mock_server_cli"
- cargo build
- cargo test
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_consumer"
- cargo build
- cargo test
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_verifier"
- cargo build
- cargo test
- cd "%APPVEYOR_BUILD_FOLDER%\rust\pact_verifier_cli"
- cargo build
- cargo test