]> git.r.bdr.sh - rbdr/sumo/commitdiff
Use Gitlab Pipelines Instead of Travis CI
authorRubén Beltran del Río <redacted>
Tue, 26 Jun 2018 05:23:00 +0000 (05:23 +0000)
committerRubén Beltran del Río <redacted>
Tue, 26 Jun 2018 05:23:00 +0000 (05:23 +0000)
.gitlab-ci.yml [new file with mode: 0644]
.travis.yml [deleted file]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..e0672f7
--- /dev/null
@@ -0,0 +1,17 @@
+image: node:8
+
+stages:
+  - lint
+  - build
+
+lint:
+  stage: lint
+  script:
+    - npm install
+    - npm run lint
+
+build:
+  stage: build
+  script:
+    - npm install
+    - npm run build
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index d6ecb50..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-language: node_js
-
-node_js:
-  - "8"
-
-script:
-  - npm run lint
-  - npm run build