Sha256: c6843c22aa4be67a8f4525f457e53959b8d4dcb0ec9bbc387af5be032c148d6c

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

language: ruby
sudo: false

cache:
  bundler: true
  directories:
  - node_modules
  - phantom20

matrix:
  fast_finish: true

  include:
    - rvm: 2.2.4
      env: RUN=mri_sanity_check
    - rvm: 2.3.0
      env: RUN=mri_sanity_check
    - rvm: 2.3.0
      env: RUN=rake_only
    - rvm: 2.3.0
      # PHANTOMJS env variable is not used but it makes it easier to differentiate this build in Travis
      env: PHANTOMJS=2.1 RUN=rake_only
      before_install:
        # Attempt to work around Travis issues and Ruby 2.3 - https://github.com/vcr/vcr/issues/582
        - gem update --system
        - "export PATH=`pwd`/node_modules/phantomjs-prebuilt/bin:$PATH"
        - "echo $PATH"
        - phantomjs -v | grep 2.1 || npm install phantomjs-prebuilt # get rate limits from bitbucket download source, so get from NPM if we don't have it already
    - rvm: 2.3.0
      env: RUNNER=node RUN=rake_only
    - rvm: 2.3.0
      env: RUN=rake_only
      gemfile: gemfiles/opal_master.gemfile
    - rvm: 2.3.0
      env: RUN=rake_only
      gemfile: gemfiles/opal_0.10_stable.gemfile

  allow_failures:
    - gemfile: gemfiles/opal_master.gemfile

before_install:
  # Attempt to work around Travis issues and Ruby 2.3 - https://github.com/vcr/vcr/issues/582
  - gem update --system
  - "mkdir -p phantom20"
  - "export PATH=`pwd`/phantom20:$PATH"
  - "echo $PATH"
  - "pushd phantom20"
  - "ls phantomjs || curl -L -O https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2"
  - "ls phantomjs || tar xjvf phantomjs-2.0.0-ubuntu-12.04.tar.bz2"
  - "rm -rf phantomjs-2.0.0-ubuntu-12.04.tar.bz2"
  - "popd"

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

notifications:
  irc: "irc.freenode.org#opal"

script:
  - "bundle exec rake $RUN"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-rspec-0.6.0.beta1 .travis.yml