This commit is contained in:
quininer 2018-08-17 10:14:17 +08:00
parent 6b00b07de3
commit cf00bbb2f7
2 changed files with 15 additions and 7 deletions

View File

@ -1,13 +1,21 @@
language: rust
rust:
- stable
cache: cargo
os:
- linux
- osx
matrix:
include:
- rust: stable
os: linux
- rust: nightly
env: FEATURE=nightly
os: linux
- rust: stable
os: osx
- rust: nightly
env: FEATURE=nightly
os: osx
script:
- cargo test --all-features
- cargo test --features "$FEATURE"
- cd examples/server
- cargo check
- cd ../../examples/client

View File

@ -13,7 +13,7 @@ install:
build: false
test_script:
- 'cargo test --all-features'
- 'cargo test'
- 'cd examples/server'
- 'cargo check'
- 'cd ../../examples/client'