.travis.yml in by_star-2.2.1 vs .travis.yml in by_star-3.0.0
- old
+ new
@@ -1,35 +1,61 @@
-before_script:
- - "mysql -e 'create database by_star_test;'"
- - "psql -c 'create database by_star_test;' -U postgres"
-
-env:
- - DB=sqlite
- - DB=mysql
- - DB=postgres
- - DB=mongodb
- - ACTIVE_RECORD_VERSION=4.0.0 MONGOID_VERSION=master DB=sqlite
- - ACTIVE_RECORD_VERSION=4.0.0 MONGOID_VERSION=master DB=mysql
- - ACTIVE_RECORD_VERSION=4.0.0 MONGOID_VERSION=master DB=postgres
- - ACTIVE_RECORD_VERSION=4.0.0 MONGOID_VERSION=master DB=mongodb
-
-notifications:
- email:
- - radarlistener@gmail.com
-
-branches:
- only:
- - master
-
-rvm:
- - 1.9.3
- - 2.0.0
- - 2.1.0
- - rbx
- - jruby
-
-matrix:
- allow_failures:
- - rvm: rbx
- - rvm: jruby
-
-services: mongodb
+before_install:
+ - gem update --system
+ - gem update bundler
+
+before_script:
+ - "mysql -e 'create database by_star_test;'"
+ - "psql -c 'create database by_star_test;' -U postgres"
+
+env:
+ - DB=sqlite
+ - DB=mysql
+ - DB=postgres
+ - DB=mongodb
+
+gemfile:
+ - spec/gemfiles/Gemfile.rails40
+ - spec/gemfiles/Gemfile.rails41
+ - spec/gemfiles/Gemfile.rails42
+ - spec/gemfiles/Gemfile.rails50
+ - spec/gemfiles/Gemfile.rails51
+ - spec/gemfiles/Gemfile.master
+
+notifications:
+ email:
+ - radarlistener@gmail.com
+
+branches:
+ only:
+ - master
+
+rvm:
+ - 2.0.0
+ - 2.1.9
+ - 2.2.5
+ - 2.3.1
+ - 2.4.2
+ - 2.5.0
+
+matrix:
+ exclude:
+ - rvm: 2.0.0
+ gemfile: "spec/gemfiles/Gemfile.rails50"
+ - rvm: 2.0.0
+ gemfile: "spec/gemfiles/Gemfile.rails51"
+ - rvm: 2.1.9
+ gemfile: "spec/gemfiles/Gemfile.rails50"
+ - rvm: 2.1.9
+ gemfile: "spec/gemfiles/Gemfile.rails51"
+ - rvm: 2.4.2
+ gemfile: "spec/gemfiles/Gemfile.rails40"
+ - rvm: 2.5.0
+ gemfile: "spec/gemfiles/Gemfile.rails40"
+ - rvm: 2.4.2
+ gemfile: "spec/gemfiles/Gemfile.rails41"
+ - rvm: 2.5.0
+ gemfile: "spec/gemfiles/Gemfile.rails41"
+ allow_failures:
+ - gemfile: spec/gemfiles/Gemfile.master
+
+
+services: mongodb