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

Example of filtering on environment variable? #18

Open
NullVoxPopuli opened this issue Apr 18, 2018 · 1 comment · May be fixed by #20
Open

Example of filtering on environment variable? #18

NullVoxPopuli opened this issue Apr 18, 2018 · 1 comment · May be fixed by #20

Comments

@Quuxplusone
Copy link

There is a working example in README.md. The big difference compared to your code is that you have an extraneous + in your URL for some reason.

However, removing the + alone won't help:

The env= parameter seems to work only on non-built-in environment variables (the ones you set yourself with env: in your .travis.yml). I think I have found that os= seems to be (partly?) supported — I don't know if it's on purpose or just serendipitously — so this means that you can write

https://badges.herokuapp.com/travis/NullVoxPopuli/CryptoExchangeClient?branch=master&os=osx&label=os=osx

to get a badge that at least is doing something different from what you saw:
badge
badge
badge
badge

However, this definitely does not work for other Travis config options, such as php=:

badge
badge

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 a pull request may close this issue.

2 participants