summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-01-31 14:56:24 -0800
committerDavid Anderson <[email protected]>2017-01-31 14:56:24 -0800
commit3cd44123fb97589bbb7aa8b0743c124a8ce81c9b (patch)
tree6edbce079933d3fe4169816f3c14cc3d02cd4c90
parentaded79682ca01ac8c7fb17449d79f5274e727f2d (diff)
Clean up travis config a bit, and add missing copyright notice.
-rw-r--r--.travis.yml12
-rw-r--r--scripts/prune_old_versions.go14
2 files changed, 22 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 888f051..62ca6bb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,15 +15,19 @@ script:
- go test .
- go vet .
- golint .
-- fpm -s dir -t deb -n tlsrouter -p tlsrouter.deb -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
+- 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
env:
# Packagecloud API key, for prune_old_versions.go
- secure: "SRcNwt+45QyPS1w9aGxMg9905Y6d9w4mBM29G6iTTnUB5nD7cAk4m+tf834knGSobVXlWcRnTDW8zrHdQ9yX22dPqCpH5qE+qzTmIvxRHrVJRMmPeYvligJ/9jYfHgQbvuRT8cUpIcpCQAla6rw8nXfKTOE3h8XqMP2hdc3DTVOu2HCfKCNco1tJ7is+AIAnFV2Wpsbb3ZsdKFvHvi2RKUfFaX61J1GNt2/XJIlZs8jC6Y1IAC+ftjql9UsAE/WjZ9fL0Ww1b9/LBIIGHXWI3HpVv9WvlhhIxIlJgOVjmU2lbSuj2w/EBDJ9cd1Qe+wJkT3yKzE1NRsNScVjGg+Ku5igJu/XXuaHkIX01+15BqgPduBYRL0atiNQDhqgBiSyVhXZBX9vsgsp0bgpKaBSF++CV18Q9dara8aljqqS33M3imO3I8JmXU10944QA9Wvu7pCYuIzXxhINcDXRvqxBqz5LnFJGwnGqngTrOCSVS2xn7Y+sjmhe1n5cPCEISlozfa9mPYPvMPp8zg3TbATOOM8CVfcpaNscLqa/+SExN3zMwSanjNKrBgoaQcBzGW5mIgSPxhXkWikBgapiEN7+2Y032Lhqdb9dYjH+EuwcnofspDjjMabWxnuJaln+E3/9vZi2ooQrBEtvymUTy4VMSnqwIX5bU7nPdIuQycdWhk="
-
+
deploy:
- provider: packagecloud
repository: tlsrouter
diff --git a/scripts/prune_old_versions.go b/scripts/prune_old_versions.go
index 43d9997..dfdd16c 100644
--- a/scripts/prune_old_versions.go
+++ b/scripts/prune_old_versions.go
@@ -1,3 +1,17 @@
+// Copyright 2017 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package main
import (