clair/.travis.yml

36 lines
600 B
YAML
Raw Normal View History

2015-12-02 17:39:13 +00:00
language: go
go:
2016-04-19 16:20:54 +00:00
- 1.6
2015-12-02 17:39:13 +00:00
- 1.5
- tip
sudo: false
before_install:
- export GO15VENDOREXPERIMENT=1
2016-06-07 08:26:07 +00:00
- RepoName=`basename $PWD`; SrcDir=`dirname $PWD`; DestDir="`dirname $SrcDir`/coreos"
- if [[ "$SrcDir" != "$DestDir" ]]; then mv "$SrcDir" "$DestDir"; cd ../../coreos/$RepoName; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$RepoName; fi
2015-12-02 17:39:13 +00:00
2015-12-04 21:24:03 +00:00
install:
- echo 'nop'
2015-12-02 17:39:13 +00:00
script:
- go test -v $(go list ./... | grep -v /vendor/)
2016-02-02 18:41:03 +00:00
services:
- postgresql
2015-12-02 18:39:59 +00:00
addons:
apt:
packages:
- rpm
2016-02-02 18:41:03 +00:00
postgresql: "9.4"
2015-12-02 18:39:59 +00:00
2015-12-02 17:39:13 +00:00
notifications:
email: false
matrix:
allow_failures:
- go: tip