machine:
  ruby:
    version:
      2.2.2
test:
  override:
    - echo "test running"
dependencies:
  pre:
    - make bootstrap
    # In case image_optim_pack doesn't work, one can use this:
    #- sudo apt-get install -y advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant

general:
  branches:
    only:
      - master

machine:
  ruby:
    version:
      2.2.2
test:
  override:
    - echo "test running"
dependencies:
  pre:
    - make bootstrap
    # In case image_optim_pack doesn't work, one can use this:
    #- sudo apt-get install -y advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant

#general:
#  branches:
#    only:
#      - master
general:
  branches:
      ignore:
            - gh-pages # list of branches to ignore

Add an example from CircleCI for gh-page ignore.
Add an example from CircleCI for gh-page ignore.
