Sfoglia il codice sorgente

Added test command to Travis CI

Oleh T 7 anni fa
parent
commit
d61ab633cc
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  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