diff --git a/.travis.yml b/.travis.yml index df2b5f3..f4026ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,13 @@ node_js: - '8.0.0' install: - npm install -g ganache-cli + - ganache-cli --version - npm install - - truffle version script: - - npm test + - npm run test before_script: - ganache-cli > /dev/null & - sleep 5 + - npm run version:truffle # after_script: # - npm run coverage && cat coverage/lcov.info | coveralls diff --git a/package.json b/package.json index eb12433..9a4b4d4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "test": "test" }, "scripts": { - "test": "truffle test" + "test": "truffle test", + "version:truffle": "truffle version" }, "repository": { "type": "git",