Use yadm/jekyll:latest image
This commit is contained in:
parent
ca7839aadd
commit
6f4aee32a7
3 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
env:
|
||||
- IMAGE="jekyll/jekyll:3.8.5"
|
||||
- IMAGE="yadm/jekyll:latest"
|
||||
language: minimal
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker pull $IMAGE
|
||||
- docker create -t --name yadm-website --entrypoint test/travis-ci $IMAGE
|
||||
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
|
||||
- docker cp ./ yadm-website:/srv/jekyll
|
||||
script:
|
||||
- docker start yadm-website -a
|
||||
|
|
4
Makefile
4
Makefile
|
@ -13,7 +13,7 @@ usage:
|
|||
@echo 'TESTING'
|
||||
@echo
|
||||
@echo ' make test'
|
||||
@echo ' - Perform tests done by travis-ci.'
|
||||
@echo ' - Perform tests done by continuous integration.'
|
||||
@echo ' This target will:'
|
||||
@echo ' - Remove previously built data'
|
||||
@echo ' - Build the site'
|
||||
|
@ -40,7 +40,7 @@ usage:
|
|||
|
||||
.PHONY: test
|
||||
test: require-docker-compose clean
|
||||
docker-compose run --rm website test/travis-ci
|
||||
docker-compose run --rm website test/validate
|
||||
|
||||
.PHONY: up
|
||||
up: require-docker-compose
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
version: '3'
|
||||
services:
|
||||
website:
|
||||
image: jekyll/jekyll:3.8.5
|
||||
image: yadm/jekyll:latest
|
||||
ports:
|
||||
- 4000:4000
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue