-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packagecloud #126
packagecloud #126
Conversation
@@ -1,28 +1,71 @@ | |||
dist: trusty | |||
sudo: required | |||
packagecloud: &packagecloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What’s the & do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This defines a variable of some sort in YAML, allowing us to substitute them later using the <<: *packagecloud
syntax to avoid repeating all these key/value pairs.
.travis.yml
Outdated
token: $PACKAGECLOUD_TOKEN | ||
local-dir: build/deb | ||
package_glob: *.deb | ||
skip_cleanup: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build
directory is not part of the repo. It's a build artifact. Unless this is set to true, I think Travis CI is gonna clean up before deployment, removing the deb.
.travis.yml
Outdated
|
||
# 18.04 | ||
- <<: *packagecloud | ||
dist: ubuntu/bionic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So easy!
.nf | ||
printf(3) | ||
.fi | ||
.if n .RE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure we want to maintain these in troff format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not like we change them that frequently and it'd be nice not to require ruby
and asciidoctor
to be installed especially for people who are building and installing from source?
TODO: RPM and GitHub Release ...