safing-portmaster/.travis.yml
2020-04-09 17:03:12 +02:00

31 lines
522 B
YAML

language: go
go:
- 1.x
os:
- linux
- windows
branches:
only:
- master
- develop
- /^feature\/travis\/.+$/ # feature/travis/*
- /^fix\/travis\/.+$/ # fix/travis/*
addons:
apt:
update: true
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -y install libnetfilter-queue-dev; fi
install:
- go get -d -u github.com/golang/dep
- go install github.com/golang/dep/cmd/dep
- ./.ci-inject-internal-deps.sh
- dep ensure
- ./test install
script: ./test --scripted