Skip to content

Commit 3cd4412

Browse files
committed
Clean up travis config a bit, and add missing copyright notice.
1 parent aded796 commit 3cd4412

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ script:
1515
- go test .
1616
- go vet .
1717
- golint .
18-
- fpm -s dir -t deb -n tlsrouter -p tlsrouter.deb -v $(date '+%Y%m%d%H%M%S') --license Apache2 --vendor
19-
"David Anderson <[email protected]>" --maintainer "David Anderson <[email protected]>"
20-
--description "TLS SNI router" --url "https://github.com/google/tlsrouter" ./tlsrouter=/usr/bin/tlsrouter
18+
- fpm -s dir -t deb -n tlsrouter -v $(date '+%Y%m%d%H%M%S')
19+
--license Apache2
20+
--vendor "David Anderson <[email protected]>"
21+
--maintainer "David Anderson <[email protected]>"
22+
--description "TLS SNI router"
23+
--url "https://github.com/google/tlsrouter"
24+
./tlsrouter=/usr/bin/tlsrouter
2125
./systemd/tlsrouter.service=/lib/systemd/system/tlsrouter.service
2226

2327
env:
2428
# Packagecloud API key, for prune_old_versions.go
2529
- secure: "SRcNwt+45QyPS1w9aGxMg9905Y6d9w4mBM29G6iTTnUB5nD7cAk4m+tf834knGSobVXlWcRnTDW8zrHdQ9yX22dPqCpH5qE+qzTmIvxRHrVJRMmPeYvligJ/9jYfHgQbvuRT8cUpIcpCQAla6rw8nXfKTOE3h8XqMP2hdc3DTVOu2HCfKCNco1tJ7is+AIAnFV2Wpsbb3ZsdKFvHvi2RKUfFaX61J1GNt2/XJIlZs8jC6Y1IAC+ftjql9UsAE/WjZ9fL0Ww1b9/LBIIGHXWI3HpVv9WvlhhIxIlJgOVjmU2lbSuj2w/EBDJ9cd1Qe+wJkT3yKzE1NRsNScVjGg+Ku5igJu/XXuaHkIX01+15BqgPduBYRL0atiNQDhqgBiSyVhXZBX9vsgsp0bgpKaBSF++CV18Q9dara8aljqqS33M3imO3I8JmXU10944QA9Wvu7pCYuIzXxhINcDXRvqxBqz5LnFJGwnGqngTrOCSVS2xn7Y+sjmhe1n5cPCEISlozfa9mPYPvMPp8zg3TbATOOM8CVfcpaNscLqa/+SExN3zMwSanjNKrBgoaQcBzGW5mIgSPxhXkWikBgapiEN7+2Y032Lhqdb9dYjH+EuwcnofspDjjMabWxnuJaln+E3/9vZi2ooQrBEtvymUTy4VMSnqwIX5bU7nPdIuQycdWhk="
26-
30+
2731
deploy:
2832
- provider: packagecloud
2933
repository: tlsrouter

scripts/prune_old_versions.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2017 Google Inc.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
package main
216

317
import (

0 commit comments

Comments
 (0)