diff options
author | David Anderson <[email protected]> | 2017-07-05 17:28:31 -0700 |
---|---|---|
committer | David Anderson <[email protected]> | 2017-07-05 17:28:31 -0700 |
commit | 6d97c2aa8ea9d9f5a35614d1f4a2a7d6be28ae9a (patch) | |
tree | 7876d48745cab3312161a225a48ff4a6dcd137f2 | |
parent | aa12504e4e35953c3281989f871e1293eb2114fe (diff) |
Correct the package building command, and only deploy for master branch commits.
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ffc2477..9c94088 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ jobs: --maintainer "David Anderson <[email protected]>" --description "TLS SNI router" --url "https://github.com/google/tlsrouter" - ./cmd/tlsrouter/tlsrouter=/usr/bin/tlsrouter + ./tlsrouter=/usr/bin/tlsrouter ./systemd/tlsrouter.service=/lib/systemd/system/tlsrouter.service deploy: - provider: packagecloud @@ -36,9 +36,13 @@ jobs: username: danderson dist: debian/stretch skip_cleanup: true + on: + branch: master 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= - provider: script + on: + branch: master script: go run scripts/prune_old_versions.go -user=danderson -repo=tlsrouter -distro=debian -version=stretch -package=tlsrouter -arch=amd64 -limit=2 env: # Packagecloud API key, for prune_old_versions.go |