Skip to content

Commit

Permalink
Add build instructions for creating the http bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Mar 14, 2019
1 parent 8ad13a9 commit 25f8033
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ env:
- EXECUTABLE=$HOME/.local/bin/cardano-wallet-server
- EXECUTABLE_CHECKSUM=$HOME/.local/bin/cardano-wallet-server.sha256
- STACK_WORK_CACHE=$HOME/.local/stack-work.tar.gz
- PATH=$PATH:$HOME/.cargo/bin

# Do not choose a language; we provide our own build tools:
language: generic
language: rust

# Deactivate builds on branches but `master` (CI is still triggered by PRs)
branches:
Expand All @@ -25,6 +26,7 @@ branches:
# Caching so the next build will be fast too:
cache:
timeout: 1337
cargo: true
directories:
- $HOME/.stack
- $HOME/.local
Expand Down Expand Up @@ -64,6 +66,11 @@ jobs:
- stack --no-terminal build --test --no-run-tests --coverage --haddock --no-haddock-deps
- tar czf $STACK_WORK_CACHE .stack-work

- stage: build 🔨
name: "Http Bridge"
script:
- travis_retry cargo install --git https://github.com/input-output-hk/cardano-http-bridge.git

- stage: checks 🔬
name: "HLint"
script:
Expand All @@ -80,6 +87,7 @@ jobs:
name: "Tests"
script:
- tar xzf $STACK_WORK_CACHE
- cardano-http-bridge --help
- stack --no-terminal test --coverage
- tar czf $STACK_WORK_CACHE .stack-work

Expand Down

0 comments on commit 25f8033

Please sign in to comment.