sudo: false

language: ruby

rvm:
  - 2.1.7

services:
  - docker

script:
  - ruby _scripts/build.rb

after_success:
  if ([ "$TRAVIS_BRANCH" == "master" ]); then
    ruby _scripts/publish.rb
  fi

sudo: false

language: ruby

rvm:
  - 2.1.7

services:
  - docker

before_install:
  - ruby _scripts/build.rb

after_success:
  if ([ "$TRAVIS_BRANCH" == "master" ]); then
    ruby _scripts/publish.rb
  fi

Revert "Build containers in the build step not before."
Revert "Build containers in the build step not before."

This reverts commit 995701b117bbf1917033169dfaa3110002c89d12.
