-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 989 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: required
language: node_js
node_js:
- "9"
cache:
directories:
- node_modules
before_install:
- sudo add-apt-repository ppa:ethereum/ethereum -y
- sudo apt-get update
- sudo apt-get install -y software-properties-common wget ethereum
- wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
- sudo tar -xvf go1.10.linux-amd64.tar.gz
- sudo mv go /usr/local
- mkdir $HOME/go
- export GOROOT=/usr/local/go
- export GOPATH=$HOME/go
- export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
- mkdir -p $HOME/.local/bin
install:
- npm install -g truffle
- npm install
- npm install --save-dev solidity-coverage
- npm install -g ganache-cli
- npm install truffle-hdwallet-provider
- npm install truffle-assertions
script:
- ganache-cli &
- cd eth
- truffle test --network development
# - ../node_modules/.bin/solidity-coverage
- cd ..
- make all
#after_script:
# - docker kill ethdevnet
#- npm run coverage && cat coverage/lcov.info | coveralls