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 language: rust
rust:
- stable
cache: cargo cache: cargo
os:
- linux matrix:
- osx include:
- rust: stable
os: linux
- rust: nightly
env: FEATURE=nightly
os: linux
- rust: stable
os: osx
- rust: nightly
env: FEATURE=nightly
os: osx
script: script:
- cargo test --all-features - cargo test --features "$FEATURE"
- cd examples/server - cd examples/server
- cargo check - cargo check
- cd ../../examples/client - cd ../../examples/client

View File

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