Skip to content

Commit

Permalink
chore(mysql): remove MySQL dep for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Sep 20, 2018
1 parent c5d544d commit c47c655
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
global:
- CC_TEST_REPORTER_ID=dc2c30b67c9e2a5309e1aef699c30fdab55ba4f0e4f1beac029ba93e293835db
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
- INSTALL_MYSQL=true
matrix:
- DATABASE_ADAPTER=default RUBYOPT="-W0"
- DATABASE_ADAPTER=postgres RUBYOPT="-W0"
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ source 'https://rubygems.org'
gemspec

gem 'simplecov', :require => false, :group => :test

if ENV['INSTALL_MYSQL'] == "true"
gem 'mysql2', '~>0.3.15'
end
1 change: 0 additions & 1 deletion pact_broker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'pry-byebug'
gem.add_development_dependency 'rake', '~>10.0'
gem.add_development_dependency 'fakefs', '~>0.4'
gem.add_development_dependency 'mysql2', '~>0.3.15'
gem.add_development_dependency 'webmock', '~>2.3'
gem.add_development_dependency 'rspec', '~>3.0'
gem.add_development_dependency 'rspec-its', '~>1.2'
Expand Down

0 comments on commit c47c655

Please sign in to comment.