NLeSC / software.esciencecenter.nl

eStep website with projects software and people.
http://software.esciencecenter.nl
Other
4 stars 3 forks source link

Test the jekyll templating #75

Closed blootsvoets closed 8 years ago

blootsvoets commented 8 years ago

Liquid templates also need to be tested. It already failed for a nested object that was not validated by the schema.

sverhoeven commented 8 years ago

We could do a jekyll build in Travis-CI.

sverhoeven commented 8 years ago

Could not get Python and correct Ruby version in docker based Travis CI worker.

Switched to non-docker worker to perform jekyll build in docker container. This nicely matches the instructions of the README.md.

Sadly today the jekyll/jekyll:pages docker image was updated by a broken image.

sverhoeven commented 8 years ago

Instead of use a non-container based worker we could also have used container based worker in combination with (apt addon)[https://docs.travis-ci.com/user/installing-dependencies#Installing-Packages-on-Container-Based-Infrastructure], By using language: python and apt install ruby or the other way around. This way would have build faster as there are more container based workers and apt is cached, but we choose the jekyll build in docker as this reflects how a user would test the site locally.