aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml17
-rw-r--r--.travis.yml8
2 files changed, 17 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..e0672f7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -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
index d6ecb50..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: node_js
-
-node_js:
- - "8"
-
-script:
- - npm run lint
- - npm run build