Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Enable gh-pages testing if explicitly added to .travis.yml #137

Merged
merged 1 commit into from
Dec 11, 2012

Conversation

sarahhodne
Copy link
Contributor

This was requested in travis-ci/travis-ci#476.

If you add this to your .travis.yml file, the gh-pages branch will be tested by Travis.

branches:
  only:
    - gh-pages

See the pull request mentioned above for rationale for this.

@joshk
Copy link
Contributor

joshk commented Nov 16, 2012

seems good to me 👍

joshk added a commit that referenced this pull request Dec 11, 2012
Enable gh-pages testing if explicitly added to .travis.yml
@joshk joshk merged commit 2804d04 into travis-ci:master Dec 11, 2012
@svenfuchs
Copy link
Contributor

do we want people to whitelist every branch just so they can test their gh-pages?

@joshk
Copy link
Contributor

joshk commented Dec 12, 2012

I saw it that if people wanted to test their GH pages branch then they wouldn't be testing others, I could be wrong in this assumption, maybe:

branches:
  gh_pages: true

?


Sent from my Sega Master System

On 13/12/2012, at 12:53 PM, Sven Fuchs notifications@github.com wrote:

do we want people to whitelist every branch just so they can test their gh-pages?


Reply to this email directly or view it on GitHub.

@svenfuchs
Copy link
Contributor

yeah, that makes sense to me. i guess we should allow both.

@sarahhodne
Copy link
Contributor Author

branches:
  gh_pages: true

seems fine with me. Should be pretty trivial to implement too. Do you want a PR?

@joshk
Copy link
Contributor

joshk commented Dec 13, 2012

Yes pretty please :)


Sent from my Sega Master System

On 13/12/2012, at 5:49 PM, Henrik Hodne notifications@github.com wrote:

branches:
gh_pages: true
seems fine with me. Should be pretty trivial to implement too. Do you want a PR?


Reply to this email directly or view it on GitHub.

@sarahhodne
Copy link
Contributor Author

It is documented here.

 Note that the gh-pages branch will not be built unless you add it to the whitelist (branches.only).

We're working on making the docs better, though, so we'll keep this in mind when reworking this part of the docs.

--Henrik

On June 15, 2013 at 4:26:44 AM, Pavel Puchkin (notifications@github.com) wrote:
This should be documented. I spent an hour trying to understand what's wrong with my configuration! :)
—
Reply to this email directly or view it on GitHub.

KaptenJansson added a commit to webrtc/samples that referenced this pull request Oct 21, 2015
Seems like gh-pages is ignored by travis however I found: travis-ci/travis-core#137. Trying it to see if it works.
chmduquesne added a commit to soulaklabs/bitoduc.fr that referenced this pull request Dec 17, 2015
@kylekatarnls
Copy link

Hi, but force to use branch.only is a big constraint. How to run tests on all branches and future branches including gh-pages?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants