Yuki Takei преди 9 години
родител
ревизия
9c17b99e22
променени са 2 файла, в които са добавени 23 реда и са изтрити 13 реда
  1. 0 13
      circle.yml
  2. 23 0
      wercker.yml

+ 0 - 13
circle.yml

@@ -1,13 +0,0 @@
-machine:
-  timezone: UTC
-  services:
-    - mongodb
-  environment:
-    MONGO_URI: mongodb://127.0.0.1/crowi_test
-  node:
-      version: 6.9.4
-  post:
-    - npm install -g npm@4
-notify:
-  webhooks:
-    - url: https://webhooks.gitter.im/e/5a035388e3274b621d20

+ 23 - 0
wercker.yml

@@ -0,0 +1,23 @@
+box: node:6.10-slim
+
+test:
+  steps:
+    - script:
+      name: install yarn
+      code: |
+        npm install -g yarn
+
+    - script:
+      name: set yarn cache
+      code: |
+        export YARN_CACHE=$WERCKER_CACHE_DIR/yarn
+
+    - script:
+      name: install dependencies
+      code: |
+        HOME=$YARN_CACHE yarn
+
+    - script:
+      name: test
+      code: |
+        npm test