-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update travis to latest implementation #3
Update travis to latest implementation #3
Conversation
af43d28
to
affb59f
Compare
f323e10
to
ae6594a
Compare
ae6594a
to
33c0c77
Compare
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.
👍 minor things if you want to change them.
.travis.yml
Outdated
- TEST=testapp_lint | ||
- TEST=build | ||
|
||
jobs: |
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.
I would put this section at the bottom of the file to make things a little more readable.
.travis.yml
Outdated
deploy: | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: Praekelt.org |
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.
Think this should be praekelt.org
.
.travis.yml
Outdated
|
||
jobs: | ||
include: | ||
- stage: deploy |
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.
I kind of prefer the name "release" since nothing is actually being deployed. But your project, your choice 😛
Also, if you add the if: tag IS present
option then the stage won't be run at all if there isn't a tag which should save a bit of build time.
.travis.yml
Outdated
env: [] | ||
before_install: [] | ||
install: [] | ||
script: '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.
Just script: skip
might be a tiny bit quicker.
@@ -0,0 +1,24 @@ | |||
#!/usr/bin/env bash |
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.
A better solution to this is probably to use tox
.. But this script is fine too.
@JayH5 thanks for the feedback 👌 |
No description provided.