Browse Source

Travis CI

Dan Kaplun 8 năm trước cách đây
mục cha
commit
3f191c3999
2 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 5 0
      .travis.yml
  2. 1 0
      package.json

+ 5 - 0
.travis.yml

@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+  - "8.9.4"
+script:
+  - npm run travis

+ 1 - 0
package.json

@@ -36,6 +36,7 @@
     "start": "npm run dev",
     "lint": "eslint src",
     "test": "npm run build-test && qunit test/unit/three.source.unit.js",
+    "travis": "npm run lint && npm test",
     "editor": "electron ./editor/main.js"
   },
   "keywords": [

粤ICP备19079148号