Skip to content

Commit

Permalink
ci: bring appveyor back (#364)
Browse files Browse the repository at this point in the history
* ci: add appveyor

* Try to get the Windows build to work
  • Loading branch information
ordian authored and tomusdrw committed Jan 29, 2019
1 parent 80205d4 commit 8160eb5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ matrix:
rust: nightly
- os: osx
rust: stable
- os: windows
rust: stable
cache: false
allow_failures:
- rust: nightly

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ Rust implementation of JSON-RPC 2.0 Specification.
Transport-agnostic `core` and transport servers for `http`, `ipc`, `websockets` and `tcp`.

[![Build Status][travis-image]][travis-url]
[![Build Status][appveyor-image]][appveyor-url]

[travis-image]: https://travis-ci.org/paritytech/jsonrpc.svg?branch=master
[travis-url]: https://travis-ci.org/paritytech/jsonrpc
[appveyor-image]: https://ci.appveyor.com/api/projects/status/github/paritytech/jsonrpc?svg=true
[appveyor-url]: https://ci.appveyor.com/project/paritytech/jsonrpc/branch/master

[Documentation](http://paritytech.github.io/jsonrpc/)

Expand Down
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc

install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\MinGW\bin
- rustc -vV
- cargo -vV

build: false

test_script:
- cargo test --all --verbose

# avoid running tests twice
branches:
only:
- master
- /^parity-.*$/

cache:
- C:\Users\appveyor\.cargo

0 comments on commit 8160eb5

Please sign in to comment.