From 52c98657166bc0fba4c0015ba547796a7377e1d8 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 19 Dec 2017 12:22:11 -0800 Subject: [PATCH] split examples check --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60dd57ed..2588f46c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,11 +29,17 @@ before_script: script: - USE_SKEPTIC=1 cargo test --features=alpn - - cd examples/diesel && cargo check && cd ../.. - - cd examples/multipart && cargo check && cd ../.. - - cd examples/template_tera && cargo check && cd ../.. - - cd examples/tls && cargo check && cd ../.. - - cd examples/websocket-chat && cargo check && cd ../.. + - | + if [[ "$TRAVIS_RUST_VERSION" == "1.20.0" ]]; then + cd examples/diesel && cargo check && cd ../.. + cd examples/multipart && cargo check && cd ../.. + fi + - | + if [[ "$TRAVIS_RUST_VERSION" == "beta" ]]; then + cd examples/template_tera && cargo check && cd ../.. + cd examples/tls && cargo check && cd ../.. + cd examples/websocket-chat && cargo check && cd ../.. + fi - | if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then cargo clippy