-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bring appveyor back * disable windows on travis * avoid running tests twice on appveyor, fix target
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
[![Build Status travis][travis-image]][travis-url] | ||
[![Build Status appveyor][appveyor-image]][appveyor-url] | ||
|
||
[travis-image]: https://travis-ci.org/paritytech/parity-common.svg?branch=master | ||
[travis-url]: https://travis-ci.org/paritytech/parity-common | ||
[appveyor-image]: https://ci.appveyor.com/api/projects/status/github/paritytech/parity-common/branch/master?svg=true | ||
[appveyor-url]: https://ci.appveyor.com/project/paritytech/parity-common/branch/master | ||
|
||
# parity-common | ||
Collection of crates used in [Parity Technologies](https://www.paritytech.io/) projects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 .. |