Skip to content
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

Merged

Conversation

smarzban
Copy link
Contributor

No description provided.

@smarzban smarzban self-assigned this May 15, 2018
@smarzban smarzban force-pushed the feature/issue-3-Update-travis-to-latest-implementation branch from af43d28 to affb59f Compare May 15, 2018 16:01
@smarzban smarzban requested a review from JayH5 May 15, 2018 16:02
@praekeltfoundation praekeltfoundation deleted a comment from coveralls May 15, 2018
@smarzban smarzban force-pushed the feature/issue-3-Update-travis-to-latest-implementation branch from f323e10 to ae6594a Compare May 15, 2018 18:33
@smarzban smarzban force-pushed the feature/issue-3-Update-travis-to-latest-implementation branch from ae6594a to 33c0c77 Compare May 15, 2018 18:43
Copy link

@JayH5 JayH5 left a 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:
Copy link

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
Copy link

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
Copy link

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'
Copy link

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
Copy link

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.

@smarzban
Copy link
Contributor Author

@JayH5 thanks for the feedback 👌

@smarzban smarzban merged commit 0abe34a into develop May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants