1
0
Fork 0
mirror of synced 2024-11-05 09:18:59 -05:00
yadm/.travis.yml
Tim Byrne c8e8633639
Use docker volume for jekyll dependencies
Using a volume allows "caching" the bundled dependencies for jekyll.
Created a "fresh" target for also removing volumes.
2019-10-17 23:50:15 -05:00

16 lines
368 B
YAML

---
env:
- IMAGE="yadm/jekyll:2019-10-17"
language: minimal
services:
- docker
before_install:
- docker pull $IMAGE
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
- docker cp ./ yadm-website:/srv/jekyll
script:
- docker start yadm-website -a
branches: # necessary to force builds of gh-pages:
only:
- gh-pages
- "/.*/"