From 12eb99029c9157fba8dca76cb8433bd9f4395322 Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 28 Sep 2017 09:48:56 +0100 Subject: [PATCH 1/2] Update .travis.yml - Remove Ruby 1.9 - Add Ruby 2.4 - Update JRuby to 9.1.9.0 which builds on react-rails' travis - Add Fast Finish to matrix (Returns status as soon as anything fails or just before allowed fails) - Attempt to cache Bundler due to comment on L36-37 --- .travis.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9434934..8212575 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,8 @@ language: ruby rvm: - - 1.9.3 - - 2.0.0 - 2.1 - - jruby-19mode + - 2.4 + - jruby-9.1.9.0 before_script: - phantomjs --version env: @@ -16,6 +15,7 @@ gemfile: - gemfiles/opal_0.9_react_14.gemfile - gemfiles/opal_0.9_react_15.gemfile cache: + bundler: true directories: - "travis_phantomjs" branches: @@ -36,12 +36,13 @@ script: # These two setup seems to run indefinitely long # further investigation required. matrix: + fast_finish: true exclude: - - rvm: jruby-19mode + - rvm: jruby-9.1.9.0 gemfile: gemfiles/opal_0.9_react_13.gemfile - - rvm: jruby-19mode + - rvm: jruby-9.1.9.0 gemfile: gemfiles/opal_0.9_react_14.gemfile - - rvm: jruby-19mode + - rvm: jruby-9.1.9.0 gemfile: gemfiles/opal_0.9_react_15.gemfile include: - rvm: 2.1 From 047b106b10b1d87ec9ed46b7ffc20851fece412e Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 28 Sep 2017 09:59:25 +0100 Subject: [PATCH 2/2] Update Phantom download link to target from http://phantomjs.org/download.html --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8212575..9efe0cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ before_install: - "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH" - "phantomjs --version" - "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi" - - "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi" + - "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi" - "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi" - "phantomjs --version" - gem install bundler -v 1.13.7