.travis.yml in pact_broker-2.0.2 vs .travis.yml in pact_broker-2.0.3

- old
+ new

@@ -1,5 +1,18 @@ language: ruby rvm: - - 2.2.7 - - 2.3.4 + # - 2.2.7 + # - 2.3.4 - 2.4.1 +services: + - postgresql + - mysql +env: + - DATABASE_ADAPTER=default RUBYOPT="-W0" + - DATABASE_ADAPTER=postgres RUBYOPT="-W0" + - DATABASE_ADAPTER=mysql RUBYOPT="-W0" +before_script: + - cp config/database.travis.yml config/database.yml + - psql -U postgres -c "CREATE DATABASE pact_broker;" + - mysql -e 'CREATE DATABASE pact_broker;' +script: + - bundle exec rake