Skip to content

Commit 3a588c0

Browse files
committed
Fix test script
1 parent 36086fb commit 3a588c0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- "stable"
4+
5+
install:
6+
- npm install -g truffle
7+
- npm install -g ganache-cli
8+
9+
cache:
10+
directories:
11+
# Replace "grunt-cli" with whatever global binary you're using
12+
- $(npm config get prefix)/bin/truffle
13+
- $(npm config get prefix)/bin/ganache-cli
14+
15+
script:
16+
- ./run-test.sh

run-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
cd `dirname "$0"`
34
ganache-cli -p 7545 > /dev/null & pid=$!
45
if ps -p $pid > /dev/null
56
then

0 commit comments

Comments
 (0)