From 686c925485c61c24c0da6cc60cf89cdaf3d69ef6 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 29 Dec 2017 12:32:09 +0100 Subject: [PATCH] Ensures only pushes to master branch are built Signed-off-by: Jim Martens --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a123095..60b33fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,9 @@ env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true sudo: false +branches: + only: + - master cache: bundler script: JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer ./_site --disable-external before_deploy: