Skip to content
Permalink
Browse files

split unit and integration tests in PR builds

  • Loading branch information...
KtorZ committed Jun 12, 2019
1 parent 8179ddb commit 937edf445df1a2304e942ac0bd6db00ed7d44a12
Showing with 10 additions and 4 deletions.
  1. +10 −4 .travis.yml
@@ -89,17 +89,23 @@ jobs:

- stage: checks 🔬
if: type = pull_request OR (branch IN (bors/staging, bors/trying))
name: "Tests: http-bridge"
name: "Tests: unit"
script:
- stack --no-terminal test --fast cardano-wallet-core cardano-wallet-launcher cardano-wallet-cli text-class bech32 cardano-wallet-http-bridge:unit cardano-wallet-jormungandr:unit

- stage: checks 🔬
if: type = pull_request OR (branch IN (bors/staging, bors/trying))
name: "Tests: integration (http-bridge)"
script:
- travis_retry curl -L -o hermes-testnet.tar.gz https://raw.githubusercontent.com/input-output-hk/cardano-wallet/master/lib/http-bridge/test/data/cardano-http-bridge/hermes-testnet.tar.gz
- tar xzf hermes-testnet.tar.gz -C $HOME
- stack --no-terminal test cardano-wallet-core cardano-wallet-launcher cardano-wallet-cli text-class bech32 cardano-wallet-http-bridge --fast
- stack --no-terminal test --fast cardano-wallet-http-bridge:integration

- stage: checks 🔬
if: type = pull_request OR (branch IN (bors/staging, bors/trying))
name: "Tests: jormungandr"
name: "Tests: integration (jormungandr)"
script:
- stack --no-terminal test cardano-wallet-jormungandr --fast
- stack --no-terminal test --fast cardano-wallet-jormungandr:integration

################################################################################
#

0 comments on commit 937edf4

Please sign in to comment.
You can’t perform that action at this time.