modify tests scripts & travis config
This commit is contained in:
parent
bb6a862c78
commit
5210eaf82f
@ -12,6 +12,7 @@ install:
|
|||||||
script:
|
script:
|
||||||
- npm run lint:wrapper
|
- npm run lint:wrapper
|
||||||
- npm run lint:contract-tests
|
- npm run lint:contract-tests
|
||||||
|
- npm run devchain
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"publish:minor": "aragon apm publish minor",
|
"publish:minor": "aragon apm publish minor",
|
||||||
"publish:major": "aragon apm publish major",
|
"publish:major": "aragon apm publish major",
|
||||||
"versions": "aragon apm versions",
|
"versions": "aragon apm versions",
|
||||||
"test": "TRUFFLE_TEST=true PORT=7545 npm run ganache-cli:test",
|
"test": "aragon contracts test",
|
||||||
"test:gas": "GAS_REPORTER=true npm test",
|
"test:gas": "GAS_REPORTER=true npm test",
|
||||||
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
||||||
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
||||||
|
35
apps/contributor/package-lock.json
generated
35
apps/contributor/package-lock.json
generated
@ -25200,24 +25200,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eth-ens-namehash": {
|
|
||||||
"version": "2.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz",
|
|
||||||
"integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"idna-uts46-hx": "^2.3.1",
|
|
||||||
"js-sha3": "^0.5.7"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"js-sha3": {
|
|
||||||
"version": "0.5.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz",
|
|
||||||
"integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eth-gas-reporter": {
|
"eth-gas-reporter": {
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.0.tgz",
|
||||||
@ -26259,23 +26241,6 @@
|
|||||||
"safer-buffer": ">= 2.1.2 < 3"
|
"safer-buffer": ">= 2.1.2 < 3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"idna-uts46-hx": {
|
|
||||||
"version": "2.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz",
|
|
||||||
"integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"punycode": "2.1.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"punycode": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz",
|
|
||||||
"integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"immediate": {
|
"immediate": {
|
||||||
"version": "3.2.3",
|
"version": "3.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz",
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eth-gas-reporter": "^0.2.0",
|
"eth-gas-reporter": "^0.2.0",
|
||||||
"ganache-cli": "^6.4.3",
|
"ganache-cli": "^6.4.3",
|
||||||
"solidity-coverage": "^0.5.11"
|
"solidity-coverage": "^0.5.11",
|
||||||
|
"@aragon/test-helpers": "^1.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run start:aragon:ipfs",
|
"start": "npm run start:aragon:ipfs",
|
||||||
@ -25,7 +26,7 @@
|
|||||||
"publish:minor": "aragon apm publish minor",
|
"publish:minor": "aragon apm publish minor",
|
||||||
"publish:major": "aragon apm publish major",
|
"publish:major": "aragon apm publish major",
|
||||||
"versions": "aragon apm versions",
|
"versions": "aragon apm versions",
|
||||||
"test": "TRUFFLE_TEST=true PORT=7545 npm run ganache-cli:test",
|
"test": "aragon contracts test",
|
||||||
"test:gas": "GAS_REPORTER=true npm test",
|
"test:gas": "GAS_REPORTER=true npm test",
|
||||||
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
||||||
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"publish:minor": "aragon apm publish minor",
|
"publish:minor": "aragon apm publish minor",
|
||||||
"publish:major": "aragon apm publish major",
|
"publish:major": "aragon apm publish major",
|
||||||
"versions": "aragon apm versions",
|
"versions": "aragon apm versions",
|
||||||
"test": "TRUFFLE_TEST=true PORT=7545 npm run ganache-cli:test",
|
"test": "aragon contracts test",
|
||||||
"test:gas": "GAS_REPORTER=true npm test",
|
"test:gas": "GAS_REPORTER=true npm test",
|
||||||
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
||||||
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"publish:minor": "aragon apm publish minor",
|
"publish:minor": "aragon apm publish minor",
|
||||||
"publish:major": "aragon apm publish major",
|
"publish:major": "aragon apm publish major",
|
||||||
"versions": "aragon apm versions",
|
"versions": "aragon apm versions",
|
||||||
"test": "TRUFFLE_TEST=true PORT=7545 npm run ganache-cli:test",
|
"test": "aragon contracts test",
|
||||||
"test:gas": "GAS_REPORTER=true npm test",
|
"test:gas": "GAS_REPORTER=true npm test",
|
||||||
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
"coverage": "SOLIDITY_COVERAGE=true npm run ganache-cli:test",
|
||||||
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
"ganache-cli:test": "../../scripts/ganache-cli.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user