add gitlab ci

This commit is contained in:
Philipp Kunz 2016-09-20 12:19:00 +02:00
parent 0352a8ce21
commit 44ba6ec46d
2 changed files with 40 additions and 0 deletions

34
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,34 @@
image: hosttoday/ht-docker-node:npmts
stages:
- test
- release
testLEGACY:
stage: test
script:
- npmci test legacy
tags:
- docker
allow_failure: true
testLTS:
stage: test
script:
- npmci test lts
tags:
- docker
testSTABLE:
stage: test
script:
- npmci test stable
tags:
- docker
release:
stage: release
environment: npm_registry
script:
- npmci publish
only:
- tags
tags:
- docker

6
test/assets/index.html Normal file
View File

@ -0,0 +1,6 @@
<head>
<title>Test</title>
</head>
<body>
Test
</body>