Skip to content

Commit

Permalink
Add a rubocop build
Browse files Browse the repository at this point in the history
  • Loading branch information
albus522 committed Feb 5, 2018
1 parent 5160160 commit 100f422
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ branches:
- master
before_script:
- mysql -e 'create database delayed_job_test;'
- mysql --version
- psql -c 'create database delayed_job_test;' -U postgres
script: bundle exec rspec
script: bundle exec $COMMAND
env:
global:
- JRUBY_OPTS="$JRUBY_OPTS -Xcli.debug=true --debug"
- COMMAND=rspec
gemfile: # Supported
- gemfiles/mysql2/4-2.gemfile
- gemfiles/mysql2/5-0.gemfile
Expand Down Expand Up @@ -45,6 +47,13 @@ matrix:

include:
#
# Rubocop
#
- rvm: 2.5.0
gemfile: Gemfile
env:
- COMMAND=rubocop
#
# The future
#
# MRI 2.5.0
Expand Down

0 comments on commit 100f422

Please sign in to comment.