forked from meterio/chainbridge-solidity-v1.0.0-eth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 852 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
# Copyright 2021 Meter.io
# SPDX-License-Identifier: LGPL-3.0-only
language: node_js
node_js: 12
env:
global:
- GO111MODULE=on
cache: npm
jobs:
include:
- name: "Run Truffle tests (Ganache)"
env: CI=true
script:
- make install-deps
- SILENT=true make start-ganache
- make test
# - name: "Run Truffle tests (Geth)"
# install:
# - sudo add-apt-repository -y ppa:ethereum/ethereum
# - sudo apt-get update
# - sudo apt-get install ethereum
# script:
# - make install-deps
# - QUIET=true make start-geth &
# - truffle test --network geth
- name: "Run coverage"
script:
- ./node_modules/.bin/truffle run coverage -solcoverjs ./scripts/.solcover.js --network test
- cat ./coverage/lcov.info | node_modules/.bin/coveralls