diff --git a/.travis.yml b/.travis.yml index 3bfbe409..78463334 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,6 @@ node_js: - 4 - 5 - 6 +script: npm run travis-tests after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/package.json b/package.json index a9d6995d..4c2f9230 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "serve": "webpack-dev-server", "weight": "npm run build && gzip-size built/winamp.js | pretty-bytes", "test": "jest --coverage && npm run lint", + "travis-tests": "jest --coverage && npm run lint && npm run build", "tdd": "jest --watch", "deploy": "ssh jordaneldredge.com sh < deploy.sh", "revert": "ssh jordaneldredge.com sh < revert.sh"