• 1 min
What sounds like a simple task took longer than expected. Here is what I did.
1) Connected Github account to Travis CI (already done since I’ve used Travis before).
2) Created a
.travis.yml, which is what Travis uses for configuration. It’s fairly straightforward.
3) Added new variables to my
username: seannam repo: seannam.github.io branch: master destination: _site/ safe: false
4) Created a script file that will run
htmlproofer, a Ruby Gem I’m using to test my site. It checks links and images.
gem 'html-proofer' to my
6) Commit and push. Travis runs automatically.