Skip to content

Commit

Permalink
Added running simple integrity/functionality test to travis for Node …
Browse files Browse the repository at this point in the history
…8 and 9
  • Loading branch information
holgerd77 committed Mar 1, 2018
1 parent 348f0f1 commit 416e559
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ os:

language: node_js
node_js:
- "6"
- "8"
- "9"

addons:
apt:
Expand All @@ -23,7 +24,7 @@ env:
global:
- DISPLAY=:99.0
matrix:
- CXX=g++-4.8 TEST_SUITE=testState
- CXX=g++-4.8 TEST_SUITE=testBuildIntegrity

matrix:
fast_finish: true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"dist"
],
"scripts": {
"coverage": "npm run build:dist && istanbul cover ./tests/tester.js -- -s --dist",
"coverage": "istanbul cover ./tests/tester.js -- -s",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"testVM": "node ./tests/tester -v",
"testState": "npm run build:dist && node ./tests/tester -s --dist",
"testBuildIntegrity": "node ./tests/tester -s --dist --test='stackOverflow'",
"testBuildIntegrity": "npm run build:dist && node ./tests/tester -s --dist --test='stackOverflow'",
"testBlockchain": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --excludeDir='GeneralStateTests'",
"testBlockchainGeneralStateTests": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='GeneralStateTests'",
"testBlockchainBlockGasLimit": "npm run build:dist && node --stack-size=1500 ./tests/tester -b --dist --dir='bcBlockGasLimitTest'",
Expand Down
3 changes: 2 additions & 1 deletion tests/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const skipSlow = [
'static_Call1MB1024Calldepth', // slow
'static_Callcode50000', // slow
'static_Return50000', // slow
'static_Return50000_2' // slow
'static_Return50000_2', // slow
'QuadraticComplexitySolidity_CallDataCopy'
]

/*
Expand Down

0 comments on commit 416e559

Please sign in to comment.