Add test step to CI

This commit is contained in:
Jesper Hess 2017-02-11 20:05:35 +01:00
parent 154c43d98a
commit 686175853f
Signed by: graffen
GPG Key ID: 351A89E40D763F0F
1 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,6 @@
image: jekyll/jekyll:pages
build site:
image: jekyll/jekyll:pages
stage: build
script:
- bundle install --path=vendor
@ -9,4 +9,13 @@ build site:
artifacts:
expire_in: 1 month
paths:
- xmppdk
- xmppdk
test site:
image: mesosphere/linkchecker
stage: test
script:
- apt-get update && apt-get install busybox
- cd xmppdk
- busybox httpd -p 4000
- linkchecker http://localhost:4000/