Run test suite on CI

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
Cameron Diver 2018-04-04 14:04:55 +01:00
parent 1c27ebc354
commit f625a1bcb0
No known key found for this signature in database
GPG Key ID: E76D7ACBEE436E12
2 changed files with 3 additions and 2 deletions

View File

@ -40,8 +40,9 @@ RUN JOBS=MAX npm install --no-optional --unsafe-perm
COPY webpack.config.js fix-jsonstream.js hardcode-migrations.js /usr/src/app/
COPY src /usr/src/app/src
COPY test /usr/src/app/test
RUN npm run lint \
RUN npm test \
&& npm run build
##############################################################################

View File

@ -12,7 +12,7 @@
"build": "webpack",
"lint": "resin-lint src/",
"versionist": "versionist",
"test": "mocha -r coffee-script/register test/**/*"
"test": "npm run lint && mocha -r coffee-script/register test/**/*"
},
"dependencies": {
"mkfifo": "^0.1.5",