# For more information about the configurations used
# in this file, please see the Travis CI documentation:
# http://docs.travis-ci.com

after_success:
  - curl -sSL "https://raw.githubusercontent.com/h5bp-bot/scripts/0.4.0/update_site_branch.sh" |
      bash /dev/stdin "dist" "server-content" "Hey server, this content is for you! [skip ci]"

before_script:
  - travis_retry npm install -g grunt-cli

env:
  global:
    - secure: "TZRZZdTAsLIl0V1TFzXcPH5WIeJj57Ii+Qv+zosGmWRAKMxdFaqMsLJGDjXrtcZSVdrkwH/E5Vr6rqGfRsks4ec1IgGRIk5nLhGE+SN7UAUaXGyH5ivjLolJpoNRz5XOBr22+zExa97+wlP8XQWowqkL8eVquk0xAcs39qOKKpE="

git:
  depth: 10

language: node_js

node_js:
  - "0.10"

# For more information about the configurations used
# in this file, please see the Travis CI documentation:
# http://docs.travis-ci.com

after_success:
  - curl -sSL "https://raw.githubusercontent.com/h5bp-bot/scripts/0.4.0/update_site_branch.sh" |
      bash /dev/stdin "dist" "gh-pages" "Hey server, this content is for you! [skip ci]"

before_script:
  - travis_retry npm install -g grunt-cli

env:
  global:
    - secure: "TZRZZdTAsLIl0V1TFzXcPH5WIeJj57Ii+Qv+zosGmWRAKMxdFaqMsLJGDjXrtcZSVdrkwH/E5Vr6rqGfRsks4ec1IgGRIk5nLhGE+SN7UAUaXGyH5ivjLolJpoNRz5XOBr22+zExa97+wlP8XQWowqkL8eVquk0xAcs39qOKKpE="

git:
  depth: 10

language: node_js

node_js:
  - "0.10"

Use `gh-pages` branch instead of `server-content`
Use `gh-pages` branch instead of `server-content`

While we do not use GitHub¹ to host our website, using `gh-pages`
as the branch that holds the content intended for our server² has
the added benefit that it removes any confusion regarding to what
the branch is used for.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://pages.github.com/
² https://github.com/h5bp/html5boilerplate.com/wiki
