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