Explorar o código

Added test command to Travis CI

Oleh T %!s(int64=7) %!d(string=hai) anos
pai
achega
d61ab633cc
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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