machine:
  ruby:
    version: 2.1.5
  services:
    - docker

dependencies:
  cache_directories:
    - "~/.cache/docker"
  override:
    - docker info
    - bundle install
    - if [ -d ~/.cache/docker ]; then ls -lahR ~/.cache/docker; fi
    - ./ci_util.rb list
    - ./ci_util.rb gc 86400
    - ./ci_util.rb pull  minimum2scp/debian:latest
    - ./ci_util.rb build minimum2scp/baseimage:latest
    - ./ci_util.rb build minimum2scp/ruby:latest
    - ./ci_util.rb build minimum2scp/ruby-full:latest
    - ./ci_util.rb pull  minimum2scp/debian-jessie:latest
    - ./ci_util.rb build minimum2scp/baseimage-jessie:latest
    - ./ci_util.rb build minimum2scp/ruby-jessie:latest
    - ./ci_util.rb pull  minimum2scp/debian-wheezy:latest
    - ./ci_util.rb build minimum2scp/baseimage-wheezy:latest
    - ./ci_util.rb build minimum2scp/ruby-wheezy:latest

test:
  override:
    - bundle exec rake spec:baseimage
    - bundle exec rake spec:ruby
    - bundle exec rake spec:ruby-full
    - bundle exec rake spec:baseimage-wheezy
    - bundle exec rake spec:ruby-wheezy


machine:
  ruby:
    version: 2.1.5
  services:
    - docker

dependencies:
  cache_directories:
    - "~/.cache/docker"
  override:
    - docker info
    - bundle install
    - if [ -d ~/.cache/docker ]; then ls -lahR ~/.cache/docker; fi
    - ./ci_util.rb list
    - ./ci_util.rb gc 86400
    - ./ci_util.rb pull  minimum2scp/debian:latest
    - ./ci_util.rb build minimum2scp/baseimage:latest
    - ./ci_util.rb build minimum2scp/ruby:latest
    - ./ci_util.rb build minimum2scp/ruby-full:latest
    - ./ci_util.rb pull  minimum2scp/debian-wheezy:latest
    - ./ci_util.rb build minimum2scp/baseimage-wheezy:latest
    - ./ci_util.rb build minimum2scp/ruby-wheezy:latest

test:
  override:
    - bundle exec rake spec:baseimage
    - bundle exec rake spec:ruby
    - bundle exec rake spec:ruby-full
    - bundle exec rake spec:baseimage-wheezy
    - bundle exec rake spec:ruby-wheezy


Revert "build jessie images for test"
Revert "build jessie images for test"

This reverts commit df0f350b1f3ae47409dd8f6219633d77c0d51625.
