Ver Fonte

Added test command to Travis CI

Oleh T há 7 anos atrás
pai
commit
d61ab633cc
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      .travis.yml

+ 4 - 3
.travis.yml

@@ -1,12 +1,13 @@
 language: node_js
 
 node_js:
-  - "8"
+  - "node"
 
 before_install:
   - cp ./server/config.example.js ./server/config.js
   - cp ./client/config.example.js ./client/config.js
 
 script:
-  - npm run lint:nofix
-  - npm run build
+  - yarn run lint:nofix
+  - yarn test
+  - yarn build