Adds test:ci for travis ci to run lint and jest
This commit is contained in:
parent
189cc586c6
commit
e13f8a7007
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue