diff --git a/.travis.yml b/.travis.yml index 7bc759dc..a22a1439 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: go sudo: false -before_script: +before_install: - go get github.com/mholt/caddy - go get github.com/spf13/hugo - go get github.com/robfig/cron -install: - - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH" - - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH" - go install github.com/mholt/caddy - go install github.com/robfig/cron - go install github.com/spf13/hugo +install: + - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH" + - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH" - go generate