Skip to content

Commit

Permalink
Add codechecks gas usage report to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Jul 28, 2019
1 parent 4feb97a commit 014120f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
- TASK=lint
- TASK=test
- TASK=coverage
- TASK=test:gas:ci
before_script:
- npm prune
script: "npm run $TASK"
Expand Down
2 changes: 2 additions & 0 deletions codechecks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
checks:
- name: eth-gas-reporter/codechecks
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"compile": "truffle compile",
"test": "TRUFFLE_TEST=true npm run ganache-cli:test",
"test:gas": "GAS_REPORTER=true npm test",
"test:gas:ci": "GAS_REPORTER=true npm test && npx codechecks",
"lint": "solium --dir ./contracts",
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
"console": "truffle dev",
Expand Down Expand Up @@ -33,9 +34,10 @@
"repository": "https://github.com/aragon/aragonOS",
"license": "(GPL-3.0-or-later OR MIT)",
"devDependencies": {
"@codechecks/client": "^0.1.5",
"coveralls": "^2.13.3",
"eth-ens-namehash": "^2.0.8",
"eth-gas-reporter": "^0.1.1",
"eth-gas-reporter": "^0.2.8",
"ethereumjs-abi": "^0.6.5",
"ganache-cli": "^6.4.2",
"mocha-lcov-reporter": "^1.3.0",
Expand Down

0 comments on commit 014120f

Please sign in to comment.