20 lines
446 B
YAML
20 lines
446 B
YAML
language: go
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
matrix:
|
|
include:
|
|
- go: 1.11.1
|
|
before_script:
|
|
- mkdir -p bin
|
|
- wget https://github.com/golang/dep/releases/download/v0.5.1/dep-linux-amd64 -O bin/dep
|
|
- chmod u+x bin/dep
|
|
- export PATH=$PWD/bin:$PATH
|
|
script:
|
|
- make -k all test
|
|
after_success:
|
|
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
|
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
|
|
make push;
|
|
fi
|