From e692084feae0406f7be1a92f0e3316347e3da0b4 Mon Sep 17 00:00:00 2001 From: PoiScript Date: Sun, 15 Sep 2019 18:27:22 +0800 Subject: [PATCH] fix(ci): only build orgize-sync with rust nightly --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1384a7d..b527b92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: rust rust: - stable + - nightly cache: cargo @@ -9,12 +10,18 @@ before_script: script: - cargo fmt --all -- --check - - cargo test --all + - if [ $TRAVIS_RUST_VERSION == "stable" ]; then + cargo test -p orgize-demos -p orgize; + else + cargo test -p orgize-sync; + fi deploy: provider: heroku api_key: $HEROKU_API_KEY app: orgize + on: + condition: "$TRAVIS_RUST_VERSION == stable" notifications: email: