From 374058fa5f5a4620f343604a5dfc218e13120a82 Mon Sep 17 00:00:00 2001 From: Michael Stewart Date: Fri, 7 Sep 2018 13:52:01 -0700 Subject: [PATCH] run unit and integration tests in CI --- .travis.yml | 3 ++- appveyor.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 50426be388..ca8209924b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,8 @@ jobs: - stage: test rust: stable script: | - cargo test --all + cargo test --package notion-core --package notion-fail --package node-archive --package notion-fail-derive --package progress-read && + cargo test --features mock-network - stage: publish # Conditional builds: https://docs.travis-ci.com/user/conditional-builds-stages-jobs/ if: (branch = master) AND (type = push) diff --git a/appveyor.yml b/appveyor.yml index 5be48c00e5..7bfb9f8065 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -118,4 +118,5 @@ build: false #directly or perform other testing commands. Rust will automatically be placed in the PATH # environment variable. test_script: - - cargo test --all --verbose %cargoflags% + - cargo test --package notion-core --package notion-fail --package node-archive --package notion-fail-derive --package progress-read && + cargo test --features mock-network