Add test step to CI
This commit is contained in:
parent
154c43d98a
commit
686175853f
|
@ -1,6 +1,6 @@
|
||||||
image: jekyll/jekyll:pages
|
|
||||||
|
|
||||||
build site:
|
build site:
|
||||||
|
image: jekyll/jekyll:pages
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- bundle install --path=vendor
|
- bundle install --path=vendor
|
||||||
|
@ -9,4 +9,13 @@ build site:
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
paths:
|
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/
|
||||||
|
|
Loading…
Reference in a new issue