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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis: building on asciidoctor's master too (related to #132) #136

Merged
merged 1 commit into from
Sep 4, 2017

Conversation

obilodeau
Copy link
Member

Thanks @mojavelinux to always point in the right direction 馃槃

@mojavelinux
Copy link
Member

This is great. I'll add it to the upstream trigger list.

Now, if you want to only run against upstream on the upstream triggered build, you can create an additional file named .travis-upstream-only.yml. The contents of that file get merged into the .travis.yml config, which can either override or update the settings.

Here's what that file would need to contain in your case:

matrix:
  exclude:
  - gemfile: Gemfile

We are asking it to modify the matrix to exclude the regular build.

See https://docs.travis-ci.com/user/customizing-the-build/#Excluding-Jobs for details.

@mojavelinux
Copy link
Member

Asciidoctor.js uses this. See https://github.com/asciidoctor/asciidoctor.js/blob/master/.travis-upstream-only.yml

Each project has it's own exclude rules of course.

@mojavelinux
Copy link
Member

It finally works!

https://travis-ci.org/asciidoctor/asciidoctor-reveal.js/builds/271898978

I had to do some tweaking of permissions.

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