Add eth-gas-reporter codecheck for gas usage report on CI (#264)
* Update eth-gas-reporter * Add codechecks report on CI
This commit is contained in:
parent
907bde5d21
commit
b219246942
10
.travis.yml
10
.travis.yml
|
@ -7,8 +7,8 @@ node_js:
|
|||
cache:
|
||||
yarn: true
|
||||
env:
|
||||
- SOLIDITY_COVERAGE=false
|
||||
- SOLIDITY_COVERAGE=true
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test
|
||||
- $TASK=lint
|
||||
- $TASK=test
|
||||
- $TASK=coverage
|
||||
- $TASK=test:gasreport:ci
|
||||
script: "npm run $TASK"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
checks:
|
||||
- name: eth-gas-reporter/codechecks
|
||||
settings:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
File diff suppressed because it is too large
Load Diff
|
@ -6,6 +6,7 @@
|
|||
"scripts": {
|
||||
"test": "scripts/test.sh",
|
||||
"test:gasreport": "GASREPORT=true npm run test",
|
||||
"test:gasreport:ci": "npm run test:gasreport && npx codechecks",
|
||||
"compile": "truffle compile && truffle compile spuriousDragon",
|
||||
"flatten": "bash flatten.sh",
|
||||
"lint": "npm run lint:js && npm run lint:sol",
|
||||
|
@ -28,6 +29,7 @@
|
|||
"truffle": "^5.0.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@codechecks/client": "^0.1.5",
|
||||
"chai": "^4.2.0",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"chai-bn": "^0.1.1",
|
||||
|
@ -38,7 +40,7 @@
|
|||
"eslint-plugin-import": "^2.17.2",
|
||||
"eslint-plugin-node": "^9.0.1",
|
||||
"eslint-plugin-prettier": "^3.0.1",
|
||||
"eth-gas-reporter": "^0.1.12",
|
||||
"eth-gas-reporter": "^0.2.9",
|
||||
"nodemon": "^1.17.3",
|
||||
"prettier": "^1.17.1",
|
||||
"prettier-plugin-solidity": "^1.0.0-alpha.27",
|
||||
|
|
Loading…
Reference in New Issue