1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00:00
TheLocehiliosan_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

17 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
- "/.*/"