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

how to do this only on tags? #14

Open
amueller opened this issue Jul 15, 2017 · 2 comments
Open

how to do this only on tags? #14

amueller opened this issue Jul 15, 2017 · 2 comments

Comments

@amueller
Copy link

I think in the common use-case you only want to use this config for tags and not for every commit. Is there a way to do that?

@njsmith
Copy link
Member

njsmith commented Jul 15, 2017

I can think of two possible strategies, neither of which I've fully worked out:

  • Have a travis configuration that runs on every build, then checks the $TRAVIS_TAG envvar and bails out if it's not what you want
  • Do something with a deploy section to have a script run on tags only.

@amueller
Copy link
Author

amueller commented Jul 15, 2017 via email

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

No branches or pull requests

2 participants