forked from darwinia-network/parity-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
29 lines (24 loc) · 807 Bytes
/
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
environment:
matrix:
- FEATURES: ""
platform:
- x86_64-pc-windows-msvc
# avoid running tests twice
branches:
only:
- master
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %PLATFORM%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -vV
- cargo -vV
build_script:
- cargo check --tests --features "%FEATURES%"
- cargo build --all --features "%FEATURES%"
test_script:
- cargo test --all --features "%FEATURES%" --exclude uint --exclude fixed-hash
- cd fixed-hash/ && cargo test --all-features && cd ..
- cd uint/ && cargo test --features=std,quickcheck --release && cd ..
- cd plain_hasher/ && cargo test --no-default-features && cd ..
- cd parity-util-mem/ && cargo test --features=estimate-heapsize && cd ..