summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-01-31 02:00:04 -0800
committerDavid Anderson <[email protected]>2017-01-31 02:00:04 -0800
commitcbd4ea6ea39c80d520d75e3e1cb140b55d6220fc (patch)
treed05e87b081e90b1df233b386a278e6751a2a9e4c
parent4f5b46f61cba8359944015dfbcbce4b88cc0fd00 (diff)
Attempt to build a debian package with FPM.
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 48a2036..adf3dd6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ go:
os:
- linux
install:
+ - gem install fpm
- go get github.com/golang/lint/golint
before_script:
script:
@@ -14,3 +15,4 @@ script:
- 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