Sha256: 2f5a1347367938254ba0823e2818d204985997fa63b25cbc52d2ad4530330fa5

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

sudo: false
language: ruby

notifications:
  email: false

before_install:
  - gem update --system
  - gem install bundler

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.2.5.0
      gemfile: gemfiles/jruby.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
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/railsmaster.gemfile
    - rvm: jruby-9.2.5.0
      gemfile: gemfiles/jruby.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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clowne-1.1.0 .travis.yml
clowne-1.0.0 .travis.yml