Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit bd559b2

Browse files
committed
Background Ganache CLI
1 parent 5fafc16 commit bd559b2

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.travis.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,26 @@ jobs:
2626
- name: Ganache
2727
before_script:
2828
# - PROVIDER_CONTAINER_ID=$(docker run -d -p 8545:8545 trufflesuite/ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000)
29-
- yarn ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000
29+
- yarn ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000 &
3030
- yarn wait-port -t 10000 localhost:8545
31-
31+
after_script:
32+
- cd safe-relay-service
33+
- docker-compose logs web
34+
- docker-compose down
35+
- cd ..
36+
- killall ganache-cli
37+
3238
- name: Ganache with --noVMErrorsOnRPCResponse
3339
before_script:
3440
# - PROVIDER_CONTAINER_ID=$(docker run -d -p 8545:8545 trufflesuite/ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000 --noVMErrorsOnRPCResponse)
35-
- yarn ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000 --noVMErrorsOnRPCResponse
41+
- yarn ganache-cli -h 0.0.0.0 -d --defaultBalanceEther 10000 --noVMErrorsOnRPCResponse &
3642
- yarn wait-port -t 10000 localhost:8545
43+
after_script:
44+
- cd safe-relay-service
45+
- docker-compose logs web
46+
- docker-compose down
47+
- cd ..
48+
- killall ganache-cli
3749

3850
- name: Geth
3951
before_script:

0 commit comments

Comments
 (0)