As I discovered Wercker, an awesome CI tool, I went looking for a way to automatically validate themes.
There wasn’t any, so I simply wrote a build step for Wercker. The build step validates a Hugo theme using an example site. It also checks if you included some files required for a future Hugo themes site.
The code for the build step is available at https://github.com/SamuelDebruyn/wercker-step-hugo-theme-check and an example wercker.yml configuration is included below.
box: debian build: steps: - samueldebruyn/hugo-theme-check: version: "0.14" theme: material-lite