Checkout Config
build:
environment:
ruby: '2.4.0'
dependencies:
before:
- gem install bundler
- sudo apt-get update
- sudo apt-get install software-properties-common -y
- sudo apt-get install libavcodec-extra -y
- pushd ~/bin
- wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
- tar xvfJ ffmpeg-git-64bit-static.tar.xz
- cp -a ffmpeg-git-*-64bit-static/* .
- rm -rf ffmpeg-git-*-64bit-static
- popd
- bundle install
- chmod 755 ~/build/vendor/bundle/ruby/2.4.0/bundler/gems/youtube-dl.rb-*/vendor/bin/youtube-dl
# /home/scrutinizer/build/vendor/bundle/ruby/2.2.0/bundler/gems/youtube-dl.rb-b8423e3713f7/vendor/bin/youtube-dl
checks:
ruby:
code_rating: true
duplicate_code: true
style_while_until_do: true
style_signal_exception:
enforced_style: semantic
style_redundant_exception: true
style_raise_args:
enforced_style: exploded
style_predicate_name: true
style_comment_annotation: true
rails_output: true
filter:
excluded_paths:
- .bundle/**
- spec/**/*
- benchmarks/**/*
- '*.min.js'
- '**/tests/**'
- docs/**/*
- Gemfile*
- Rakefile
Repository Config
# language: ruby