aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Beltran del Río <ben@nsovocal.com>2018-06-26 05:23:00 +0000
committerRubén Beltran del Río <ben@nsovocal.com>2018-06-26 05:23:00 +0000
commit7b295172b67ee3f03c5da85953f9ca3b176aa135 (patch)
tree8bfd6ccbdc20316a5b12fc47ad0dcc495c07d239
parent3100e0533cb89a185ea021dfb83c4f364750180f (diff)
parent8f039ab3784bc2390d9855b6f43b3c981f83b11c (diff)
Merge branch 'feature/rbdr-gitlab-pipeline' into 'develop'
Use Gitlab Pipelines Instead of Travis CI See merge request rbdr/sumo!12
-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