language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1 - jruby-19mode before_script: - phantomjs --version env: - PHANTOMJS_VERSION=1.9.8 gemfile: - gemfiles/opal_0.8_react_13.gemfile - gemfiles/opal_0.8_react_14.gemfile - gemfiles/opal_0.8_react_15.gemfile - gemfiles/opal_0.9_react_13.gemfile - gemfiles/opal_0.9_react_14.gemfile - gemfiles/opal_0.9_react_15.gemfile cache: directories: - "travis_phantomjs" branches: only: - master before_install: - "phantomjs --version" - "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 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 script: - bundle exec rake test_app - bundle exec rake # These two setup seems to run indefinitely long # further investigation required. matrix: exclude: - rvm: jruby-19mode gemfile: gemfiles/opal_0.9_react_13.gemfile - rvm: jruby-19mode gemfile: gemfiles/opal_0.9_react_14.gemfile - rvm: jruby-19mode gemfile: gemfiles/opal_0.9_react_15.gemfile include: - rvm: 2.1 env: PHANTOMJS_VERSION=2.1.1 gemfile: gemfiles/opal_0.10_react_13.gemfile - rvm: 2.1 env: PHANTOMJS_VERSION=2.1.1 gemfile: gemfiles/opal_0.10_react_14.gemfile - rvm: 2.1 env: PHANTOMJS_VERSION=2.1.1 gemfile: gemfiles/opal_0.10_react_15.gemfile - rvm: 2.1 env: PHANTOMJS_VERSION=2.1.1 gemfile: gemfiles/opal_master_react_15.gemfile allow_failures: - rvm: 2.1 env: PHANTOMJS_VERSION=2.1.1 gemfile: gemfiles/opal_master_react_15.gemfile