summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: adf3dd6f44dacca81ec979f6b24b7ed7ea3c7287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: go
go_import_path: go.universe.tf/tlsrouter
go:
  - 1.6
  - 1.7
  - tip
os:
  - linux
install:
  - gem install fpm
  - go get github.com/golang/lint/golint
before_script:
script:
  - go build .
  - go test .
  - go vet .
  - golint .
  - fpm -s dir -t deb -n tlsrouter -v $(date '+%Y%m%d%H%M%S') --license Apache2 --vendor "David Anderson <[email protected]>" --maintainer "David Anderson <[email protected]>" --description "TLS SNI router" --url "https://github.com/google/tlsrouter" ./tlsrouter=/usr/bin/tlsrouter ./systemd/tlsrouter.service=/lib/systemd/system/tlsrouter.service