sudo: false language: ruby notifications: email: false before_install: gem update --system before_script: # Only generate coverage report for the specified job - if [ "$CC_REPORT" == "true" ]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; fi - if [ "$CC_REPORT" == "true" ]; then chmod +x ./cc-test-reporter; fi - if [ "$CC_REPORT" == "true" ]; then ./cc-test-reporter before-build; fi script: - bundle exec rake - if [ "$CC_REPORT" == "true" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi - if [ "$DEPLOY_ME" == "true" ]; then (cd ./docs/web && yarn && yarn run build); fi matrix: fast_finish: true include: - rvm: ruby-head gemfile: gemfiles/railsmaster.gemfile - rvm: jruby-9.1.15.0 gemfile: gemfiles/jruby.gemfile - rvm: 2.5.0 gemfile: Gemfile - rvm: 2.4.3 gemfile: Gemfile env: - CC_REPORT=true - DEPLOY_ME=true - rvm: 2.4.1 gemfile: gemfiles/activerecord42.gemfile - rvm: 2.3.1 gemfile: Gemfile - rvm: 2.2.0 gemfile: gemfiles/activerecord42.gemfile allow_failures: - rvm: ruby-head gemfile: gemfiles/railsmaster.gemfile - rvm: jruby-9.1.15.0 gemfile: gemfiles/jruby.gemfile deploy: provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN local_dir: "./docs/web/build/clowne" on: branch: master condition: $DEPLOY_ME = true