diff --git a/.travis.yml b/.travis.yml index f8085b7c..ee7085c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_install: install: true script: - - docker-compose exec -T app npm run test --verbose + - docker-compose exec -T app npm run test:ci --verbose before_deploy: - docker-compose stop diff --git a/package.json b/package.json index 6d71df00..9cf75318 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "build:server": "cross-env NODE_ENV=production webpack --config webpack/config.server.js", "build:examples": "cross-env NODE_ENV=production webpack --config webpack/config.examples.js", "test": "jest", + "test:ci": "npm run lint && npm run test", "fetch-examples": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples.js", "fetch-examples-gg": "cross-env NODE_ENV=development node ./server/scripts/fetch-examples-gg.js", "fetch-examples:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples.bundle.js",