github.com/ggreg80/ketos@v0.0.0-20171109040536-049616f51ddb/.travis.yml (about) 1 language: go 2 3 go: 4 - 1.8.x 5 - tip 6 7 install: 8 - curl -fsSL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 && chmod +x $GOPATH/bin/dep 9 10 script: 11 12 - | 13 [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || \ 14 (make vendor && make build && make test) 15 16 - | 17 [ "${TRAVIS_EVENT_TYPE}" != "cron" ] || \ 18 ( \ 19 docker build -t setekhid/ketos:latest . && \ 20 cd test && bash ./test.sh \ 21 )