dhermes / bossylobster-blog

Content, Settings and Build for my Blog
Apache License 2.0
2 stars 3 forks source link

Make Travis build stage smarter / faster #46

Open dhermes opened 9 years ago

dhermes commented 9 years ago

For example a build which only added an apostrophe decided to re-build all the templates (this already fixed). This is not necessary.

A simple hack could be to use TRAVIS_COMMIT_RANGE (it is not set if the parent commit is the last one built by Travis). This only works because we only build on non-PRs in master.

Even more extreme is re-building for parts of the repo that don't change the blog content in any way.

dhermes commented 9 years ago

Also https://github.com/dhermes/bossylobster-blog/commit/6f47fe6ebd7dd75cded1c3e088c337888fedaad1 work towards this