language: ruby
os:
- linux
- osx
osx_image: xcode7.1
rvm:
- 2.2.5
- 2.1.9
- 2.0.0-p648
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm osx-ssl-certs update all; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export SSL_CERT_FILE=/usr/lib/ssl/cert.pem; fi
script:
- bundle exec rake rubocop[yes]
- bundle exec rake jsondoc
- bundle exec rake test:coveralls
- bundle exec rake travis:acceptance
after_success:
- bundle exec rake travis:post
matrix:
  include:
  - rvm: 2.3.1
    env: GCLOUD_BUILD_DOCS=true
notifications:
  slack:
    secure: Ksji5MDNOWnuzuyu9Hblbxse6kGLdH4kXyYkF98C+wawIGLSONWWkuA65wpdqSLtBN/79RCLMWoBzKAGX4xy9BL6Rxb3rLjAMT+FVur6II2yaApzyJ0dmTVeTXnkchPcrO27FK5taPb0Ghr86DUiG3OViY/q1N0AVALDYce5tfE=

language: ruby
os:
- linux
- osx
osx_image: xcode7.1
rvm:
- 2.2.5
- 2.1.9
- 2.0.0-p648
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ] && [ "$TRAVIS_RUBY_VERSION" == "2.0.0-p648" ]]; then rvm reinstall 2.0.0-p643 --disable-binary; fi
script:
- bundle exec rake rubocop[yes]
- bundle exec rake jsondoc
- bundle exec rake test:coveralls
- bundle exec rake travis:acceptance
after_success:
- bundle exec rake travis:post
matrix:
  include:
  - rvm: 2.3.1
    env: GCLOUD_BUILD_DOCS=true
notifications:
  slack:
    secure: Ksji5MDNOWnuzuyu9Hblbxse6kGLdH4kXyYkF98C+wawIGLSONWWkuA65wpdqSLtBN/79RCLMWoBzKAGX4xy9BL6Rxb3rLjAMT+FVur6II2yaApzyJ0dmTVeTXnkchPcrO27FK5taPb0Ghr86DUiG3OViY/q1N0AVALDYce5tfE=

Update Travis-CI config for OS X failure
Update Travis-CI config for OS X failure

Reinstall Ruby 2.0.0 on OS X to fix issue with OpenSSL.
