Adds test:ci for travis ci to run lint and jest

This commit is contained in:
sepans 2018-10-29 18:08:30 -04:00
parent 189cc586c6
commit e13f8a7007
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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",