Files
go-xmlsec/.travis.yml
2018-10-14 11:49:49 +01:00

44 lines
730 B
YAML

language: go
sudo: false
branches:
except:
- release
branches:
only:
- master
- develop
addons:
apt:
packages:
- libxml2-dev
- libxmlsec1-dev
go:
- '1.11.1'
- tip
matrix:
allow_failures:
- go: tip
before_install:
- if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;
- if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN}; fi;
- go get github.com/mattn/goveralls
before_script:
- make deps
script:
- make qa
after_failure:
- cat ./target/test/report.xml
after_success:
- if [ "$TRAVIS_GO_VERSION" = "1.7" ]; then $HOME/gopath/bin/goveralls -covermode=count -coverprofile=target/report/coverage.out -service=travis-ci; fi;