Browse Source

Move to drone ci: first try.

Herby Vojčík 4 years ago
parent
commit
6bd6f71cda
2 changed files with 26 additions and 23 deletions
  1. 26 0
      .drone.yml
  2. 0 23
      .travis.yml

+ 26 - 0
.drone.yml

@@ -0,0 +1,26 @@
+kind: pipeline
+name: default
+
+steps:
+  - name: lang
+    image: node
+    commands:
+      - npm install
+      - npm test:sunit
+
+  - name: cli
+    image: node
+    commands:
+      - cd cli
+      - npm install
+      - npm test
+
+  - name: installable-cli
+    image: node
+    environment:
+      AMBER_CLI: amber
+    commands:
+      - cd cli
+      - npm install
+      - npm install -g @ambers/cli
+      - npm test

+ 0 - 23
.travis.yml

@@ -1,23 +0,0 @@
-language: node_js
-sudo: false
-node_js:
-  - "0.10"
-  - "0.12"
-  - "4"
-  - "node"
-install:
-  - npm install -g grunt-cli mocha
-  - npm install
-  - cd cli
-  - npm install
-  - cd ../sdk
-  - npm install
-  - cd ..
-script:
-  - npm test
-  - cd cli
-  - npm install -g @ambers/cli
-  - AMBER_CLI=amber npm test
-  - npm install -g @ambers/cli@bleedingedge
-  - AMBER_CLI=amber npm test
-  - cd ..