Sha256: 7ceb0a3b4eeb281c58c3ccbda82743667266959bb92ca152271b41dc8e21c625

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

---
language: ruby
cache: bundler
branches:
  only:
    - /.*/
env:
  global:
    - DISPLAY=":0"
matrix:
  include:
    - rvm: 2.4.6
      dist: xenial
      env: RAKE_TASK=spec
    - rvm: 2.4.6
      dist: xenial
      env: RAKE_TASK=rubocop
    - rvm: 2.6.3
      dist: xenial
      env: RAKE_TASK=spec REPORT_COVERAGE=true
    - rvm: 2.4.6
      os: osx
      env: RAKE_TASK=spec
    - rvm: 2.6.3
      os: osx
      env: RAKE_TASK=spec
addons:
  firefox: latest
  chrome: stable
  apt:
    packages:
      - ffmpeg
  homebrew:
    packages:
      - ffmpeg
before_script:
  - if [[ "$RAKE_TASK" == "spec" ]]; then
      nohup Xvfb :0 -screen 0 1024x768x24 &
    fi
  - if [[ "$REPORT_COVERAGE" == "true" ]] && [[ "$TRAVIS_BRANCH" == "master" ]]; then
      curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter;
      chmod +x ./cc-test-reporter;
      ./cc-test-reporter before-build;
    fi
script: bundle exec rake $RAKE_TASK
after_script:
  - if [[ "$REPORT_COVERAGE" == "true" ]] && [[ "$TRAVIS_BRANCH" == "master" ]]; then
      ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
    fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
screen-recorder-1.2.0 .travis.yml