diff --git a/.travis.yml b/.travis.yml index 7888d463..ab7ab712 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,8 @@ before_script: # Give some time to docker to enable all services - sleep 15 - cd .. +script: + - yarn build after_success: - cd safe-transaction-history - docker-compose stop diff --git a/package.json b/package.json index 49793555..c3c4d732 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "start": "node scripts/start.js", "build": "node scripts/build.js", + "test": "NODE_ENV=test && node scripts/test.js --env=jsdom", "test-local": "NODE_ENV=test && node scripts/test.js --env=jsdom", "precommit": "./precommit.sh", "flow": "flow",