aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-04-12 22:39:15 +0930
committerMatthew Draper <matthew@trebex.net>2017-04-12 23:38:57 +0930
commit7384771dd0652ec4d82c0ad16522a87102316aee (patch)
treebf2fbbe92b154f4cca7a2a70abd6eb2d6d496e5e /.travis.yml
parent2b4583f2a2ef94bc8c046e36e2b62ec642bbfb41 (diff)
downloadrails-7384771dd0652ec4d82c0ad16522a87102316aee.tar.gz
rails-7384771dd0652ec4d82c0ad16522a87102316aee.tar.bz2
rails-7384771dd0652ec4d82c0ad16522a87102316aee.zip
Use a query that's compatible with PostgreSQL 9.2
Also, explicitly apply the order: generate_subscripts is unlikely to start returning values out of order, but we should still be clear about what we want.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index af19cd41de..5b8cfa9dbf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -93,9 +93,14 @@ matrix:
- "GEM=ar:mysql2 MYSQL=mariadb"
addons:
mariadb: 10.0
- - rvm: 2.4.1
+ - rvm: 2.3.4
env:
- "GEM=ar:sqlite3_mem"
+ - rvm: 2.3.4
+ env:
+ - "GEM=ar:postgresql POSTGRES=9.2"
+ addons:
+ postgresql: "9.2"
- rvm: jruby-9.1.8.0
jdk: oraclejdk8
env:
@@ -104,12 +109,6 @@ matrix:
jdk: oraclejdk8
env:
- "GEM=am,amo,aj"
- # Test with old (< 9.4.2) postgresql
- - rvm: 2.4.1
- env:
- - "GEM=ar:postgresql"
- addons:
- postgresql: "9.4"
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.1.8.0