diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-09-20 14:22:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 14:22:52 -0400 |
commit | d99d4a58fa5c1344196ab1cb1b162348597f67bf (patch) | |
tree | caa2500c8714cea7f0610217b8057ff52a5470bd | |
parent | 8a908451b614d03db60da05c1525cfaf523189fa (diff) | |
parent | 342e29bbbf53b02359dfa21a63bd8b3b6e104b20 (diff) | |
download | rails-d99d4a58fa5c1344196ab1cb1b162348597f67bf.tar.gz rails-d99d4a58fa5c1344196ab1cb1b162348597f67bf.tar.bz2 rails-d99d4a58fa5c1344196ab1cb1b162348597f67bf.zip |
Merge pull request #33112 from yahonda/ci_postgresql10
CI against PostgreSQL 10
-rw-r--r-- | .travis.yml | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 6943a67ffe..109005b407 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ services: - redis-server addons: - postgresql: "9.6" + postgresql: 10 chrome: stable apt: sources: @@ -28,6 +28,8 @@ addons: - poppler-utils - mysql-server - mysql-client + - postgresql-10 + - postgresql-client-10 bundler_args: --without test --jobs 3 --retry 3 before_install: @@ -53,12 +55,10 @@ env: global: - "JRUBY_OPTS='--dev -J-Xmx1024M'" matrix: - - "GEM=railties" - "GEM=ap,ac" - "GEM=am,amo,as,av,aj,ast" - "GEM=as PRESERVE_TIMEZONES=1" - "GEM=ar:sqlite3" - - "GEM=ar:postgresql" - "GEM=guides" - "GEM=ac:integration" @@ -69,6 +69,33 @@ rvm: matrix: include: + - rvm: 2.4.4 + env: "GEM=railties" + sudo: required + before_install: + - "rm ${BUNDLE_GEMFILE}.lock" + - "travis_retry gem update --system" + - "travis_retry gem install bundler" + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" + - rvm: 2.5.1 + env: "GEM=railties" + sudo: required + before_install: + - "rm ${BUNDLE_GEMFILE}.lock" + - "travis_retry gem update --system" + - "travis_retry gem install bundler" + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" + - rvm: ruby-head + env: "GEM=railties" + sudo: required + before_install: + - "rm ${BUNDLE_GEMFILE}.lock" + - "travis_retry gem update --system" + - "travis_retry gem install bundler" + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" - rvm: 2.5.1 env: "GEM=av:ujs" - rvm: 2.4.4 @@ -118,6 +145,24 @@ matrix: - rvm: 2.5.1 env: - "GEM=ar:sqlite3_mem" + - rvm: 2.4.4 + env: "GEM=ar:postgresql" + sudo: required + before_install: + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" + - rvm: 2.5.1 + env: "GEM=ar:postgresql" + sudo: required + before_install: + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" + - rvm: ruby-head + env: "GEM=ar:postgresql" + sudo: required + before_install: + - "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf" + - "sudo service postgresql restart 10" - rvm: 2.5.1 env: - "GEM=ar:postgresql POSTGRES=9.2" |