-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (35 loc) · 992 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
44
language: node_js
sudo: required
node_js:
- '8'
env:
global:
- CXX=g++-4.8
- CC_TEST_REPORTER_ID=83238dc5069a6d904fe721bad6f2b030e036cb0fa46bfc75fb695b26326add22
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- g++-4.8
before_install:
- export CXX="g++-4.8"
- npm install -g npm@latest
- npm install -g ganache-cli
- npm install -g truffle
# Temporarily disabled as this bin has not been updated for Solc 5.0+
# - npm install -g solidity-coverage
install:
- npm install
before_script:
- chmod +x ./scripts/test.sh
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- npm run test
# Temporarily disabled as this bin has not been updated for Solc 5.0+
# - solidity-coverage
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT