.travis.yml in activeadmin-1.0.0.pre4 vs .travis.yml in activeadmin-1.0.0.pre5
- old
+ new
@@ -1,46 +1,68 @@
+---
+
language: ruby
+
sudo: false
-install:
- - ./script/travis_cache download_bundle
- - gem install bundler # use the very latest Bundler
- - bundle install --without development --path=./bundle
- - bundle clean # delete now-outdated gems
- - ./script/travis_cache download_app
+
+bundler_args: --without development
+
+cache: bundler
+
+before_install:
+ - PATH=$(npm bin):$PATH # needed to install phantomjs via npm
+ - if [ $(phantomjs --version) != '2.1.1' ]; then npm install phantomjs-prebuilt@2.1; fi
+ - gem update --system # use the very latest Rubygems
+ - rvm @global do gem uninstall bundler -a -x
+ - rvm @global do gem install bundler -v 1.14.3 # latest version known to work
+
+before_script:
- bundle exec rake setup
- - ./script/travis_cache upload
+
script:
- - bundle exec rake test_with_coveralls
+ - bundle exec rake test
+
rvm:
- - 1.9
- - 2.3.0
- - jruby-9.0.5.0
+ - jruby-9.1.7.0
+ - 1.9.3
+ - 2.2.6
+ - 2.3.3
+ - 2.4.0
+
+gemfile:
+ - gemfiles/rails_32.gemfile
+ - gemfiles/rails_40.gemfile
+ - gemfiles/rails_41.gemfile
+ - gemfiles/rails_42.gemfile
+ - gemfiles/rails_50.gemfile
+
env:
- matrix:
- - RAILS=3.2.22
- - RAILS=4.2.5
- - RAILS="> 5.x"
global:
- JRUBY_OPTS="-J-Xmx1024m --debug"
+
matrix:
fast_finish: true
+
exclude:
- - rvm: 1.9
- env: RAILS="> 5.x"
- allow_failures:
- - rvm: 2.3.0
- env: RAILS="> 5.x"
- - rvm: jruby-9.0.5.0
- env: RAILS="> 5.x"
-branches:
- only:
- - master
- - /\A\d-\d-stable\z/
+ - rvm: 1.9.3
+ gemfile: gemfiles/rails_50.gemfile
+
+ - rvm: 2.4.0
+ gemfile: gemfiles/rails_32.gemfile
+
+ - rvm: 2.4.0
+ gemfile: gemfiles/rails_40.gemfile
+
+ - rvm: 2.4.0
+ gemfile: gemfiles/rails_41.gemfile
+
notifications:
irc:
channels:
- irc.freenode.org#activeadmin
+
on_success: change
on_failure: always
skip_join: true
+
template:
- "(%{branch}/%{commit} by %{author}): %{message} (%{build_url})"