Skip to content

Commit

Permalink
Add E2E tests for geth and ganache dev clients (#3122)
Browse files Browse the repository at this point in the history
* Add E2E tests for geth and ganache dev clients

* Replace missing run build step in CI

* Fix bug in deploy confirmation test (ganache)

* Add assertion to confirmation handler tests

* Fix formatting / remove ethereumjs-tx test

* Add simple events tests
  • Loading branch information
cgewecke authored and nivida committed Oct 15, 2019
1 parent 4178371 commit 571f374
Show file tree
Hide file tree
Showing 19 changed files with 13,769 additions and 9,854 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ test
dist
docs
coverage
scripts
.gitignore
.editorconfig
.travis.yml
Expand Down
38 changes: 24 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
services:
- xvfb
language: node_js
node_js:
- "8"
- "10"
- "11"
- "12"
env:
- CXX=g++-4.8
matrix:
include:
- node_js: 8
env: TEST=unit
- node_js: 11
env: TEST=unit
- node_js: 12
env: TEST=unit
- node_js: 10
env: TEST=unit_and_e2e
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- ubuntu-toolchain-r-test
packages:
- g++-4.8
install:
- gcc-5
- g++-5

before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="gcc-5";
export CXX="g++-5";
export LINK="gcc-5";
export LINKXX="g++-5";
fi
install:
- npm install
script:
- npm run-script build
- npm run-script test-coveralls
after_script:
- cd test/node && npm install && node app.js
- npm run ci

Loading

0 comments on commit 571f374

Please sign in to comment.