language: ruby sudo: false cache: bundler: true rvm: - 2.5.0 - 2.4.2 - 2.3.5 - 2.2.8 - 2.1.10 gemfile: - gemfiles/rails_4_2_opal_master.gemfile - gemfiles/rails_5_0_opal_master.gemfile - gemfiles/rails_5_1_opal_master.gemfile - gemfiles/rails_4_2_opal_0_10.gemfile - gemfiles/rails_5_0_opal_0_10.gemfile - gemfiles/rails_5_1_opal_0_10.gemfile before_script: bundle install script: "bundle exec rake" before_install: - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH" - "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi" - "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi" - "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi" - "phantomjs --version"