language: ruby
cache: bundler
sudo: false
rvm:
  - "ruby-2.2.1"
script:
  - "bundle exec brakeman -z"
  - "bundle exec rake db:migrate"
  - "bundle exec rake spec:travisci"
env:
  global:
    - RAILS_ENV=ci
  matrix:
    - TEST_SUITE=unit
    - TEST_SUITE=acceptance_1
    - TEST_SUITE=acceptance_2
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16"
before_script:
  - "cp config/secrets_ci.yml config/secrets.yml"
  - "cp config/database.yml.ci config/database.yml"

language: ruby
cache: bundler

# Temporarily disable container-based infrastructure
sudo: required

rvm:
  - "ruby-2.2.1"
script:
  - "bundle exec brakeman -z"
  - "bundle exec rake db:migrate"
  - "bundle exec rake spec:travisci"
env:
  global:
    - RAILS_ENV=ci
  matrix:
    - TEST_SUITE=unit
    - TEST_SUITE=acceptance_1
    - TEST_SUITE=acceptance_2
before_install:
  - "export DISPLAY=:99.0"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 800x600x16"
before_script:
  - "cp config/secrets_ci.yml config/secrets.yml"
  - "cp config/database.yml.ci config/database.yml"

Disable container-based infrastructure in Travis CI.
Disable container-based infrastructure in Travis CI.

This should make build run in the standard linux infrastructure.

This is part of an effort to get rid of "broken pipe" errors in the acceptance tests, seemingly caused by the capybara-webkit process getting killed. It could be that the docker image has been corrupted somehow?
