beardyjay.co.uk

My main website source code, uses Hugo.
Log | Files | Refs

commit 21cbd9d0dcfe2f89e09869ebb7f5bc2d42ccd5a4
parent a621cc15d2658f8c710e90477943dfb4d344f14c
Author: beardyjay <jay@beardyjay.co.uk>
Date:   Fri, 21 Oct 2016 13:16:05 +0000

new travis config for auto deploy

Diffstat:
M.travis.yml | 28++++++++++------------------
1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -1,18 +1,10 @@ -language: ruby -rvm: -- 2.1 - -before_script: - - chmod +x ./script/build - -script: ./script/build - -branches: - only: - - master - -env: - global: - - NOKOGIRI_USE_SYSTEM_LIBRARIES=true - -sudo: false +language: go +install: go get -v github.com/spf13/hugo +script: + - hugo + - python --version + - sudo pip install s3cmd + - s3cmd sync --delete-removed -P -M -r public/ s3://continuousfailure.com/ +notifications: + email: + on_failure: always