summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 545b2b212899f07ba979d6aa515e8cfb9a76f925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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

deploy:
  provider: packagecloud
  repository: tlsrouter
  username: danderson
  dist: debian/stretch
  skip_cleanup: true
  token:
    secure: gNU3o70EU4oYeIS6pr0K5oLMGqqxrcf41EOv6c/YoHPVdV6Cx4j9NW0/ISgu6a1/Xf2NgWKT5BWwLpAuhmGdALuOz1Ah//YBWd9N8mGHGaC6RpOPDU8/9NkQdBEmjEH9sgX4PNOh1KQ7d7O0OH0g8RqJlJa0MkUYbTtN6KJ29oiUXxKmZM4D/iWB8VonKOnrtx1NwQL8jL8imZyEV/1fknhDwumz2iKeU1le4Neq9zkxwICMLUonmgphlrp+SDb1EOoHxT6cn51bqBQtQUplfC4dN4OQU/CPqE9E1N1noibvN29YA93qfcrjD3I95KT9wzq+3B6he33+kb0Gz+Cj5ypGy4P85l7TuX4CtQg0U3NAlJCk32IfsdjK+o47pdmADij9IIb9yKt+g99FMERkJJY5EInqEsxHlW/vNF5OqQCmpiHstZL4R2XaHEsWh6j77npnjjC1Aea8xZTWr8PTsbSzVkbG7bTmFpZoPH8eEmr4GNuw5gnbi6D1AJDjcA+UdY9s5qZNpzuWOqfhOFxL+zUW+8sHBvcoFw3R+pwHECs2LCL1c0xAC1LtNUnmW/gnwHavtvKkzErjR1P8Xl7obCbeChJjp+b/BcFYlNACldZcuzBAPyPwIdlWVyUonL4bm63upfMEEShiAIDDJ21y7fjsQK7CfPA7g25bpyo+hV8=
  on:
    branch: "master"
    go: "1.7"