Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 22 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
name: Run clang-format
command: ./run-clang-format.sh && git diff --exit-code
test_cases:
parameters:
chain:
type: string
machine:
image: ubuntu-1604:201903-01
steps:
Expand All @@ -30,7 +33,7 @@ jobs:
- run:
name: Build & Run Tests
command: |
cd docker/btcpool/test/${CIRCLE_JOB#"test_cases@"}
cd docker/btcpool/test/<< parameters.chain >>
./run-test.sh
golang_tests:
docker:
Expand Down Expand Up @@ -118,42 +121,27 @@ workflows:
- clang_format
- golang_tests
- test_cases:
name: test_cases@bch
- test_cases:
name: test_cases@bsv
- test_cases:
name: test_cases@btc
- test_cases:
name: test_cases@ubtc
- test_cases:
name: test_cases@ltc
- test_cases:
name: test_cases@zec
matrix:
parameters:
chain:
- bch
- bsv
- btc
- ubtc
- ltc
- zec
push_dep_imgs:
jobs:
- golang_dep_img:
<<: *dep_img_comm
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: bch-0.18.5
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: bsv-1.0.1
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: btc-0.16.3
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: ubtc-2.5.0.1
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: ltc-0.16.3
- push_dep_img:
<<: *dep_img_comm
name: [email protected]
base: zec-2.0.4
matrix:
parameters:
base:
- bch-0.18.5
- bsv-1.0.1
- btc-0.16.3
- ubtc-2.5.0.1
- ltc-0.16.3
- zec-2.0.4