Sha256: a68fc416779c77b41b07784d2b8756139b207c3f950d4962f89424ea93a157d2

Contents?: true

Size: 1.69 KB

Versions: 3

Compression:

Stored size: 1.69 KB

Contents

language: ruby
sudo: false

cache:
  bundler: true
  directories:
  - node_modules
  - phantom20

matrix:
  include:
    # - rvm: 2.5.1
    # - rvm: 2.4.2
    # - rvm: 2.3.7
    # - rvm: 2.4.1
    #   # 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.4.1
    #   env: RUNNER=node RUN=rake_only
    # - rvm: 2.5.1
    #   env: RUN=rspec
    #   gemfile: gemfiles/opal_master.gemfile
    # - rvm: 2.5.1
    #   env: RUN=rspec
    #   gemfile: gemfiles/opal_0.10_stable.gemfile

  allow_failures:
    - gemfile: gemfiles/opal_master.gemfile

gemfile:
  - gemfiles/opal_0.11.gemfile
  - gemfiles/opal_master.gemfile

before_install:
  - "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"
#   - "phantomjs -v"
#   - "node -v"
#   - "firefox --version"

script:
  - "bundle exec exe/opal-rspec spec-opal-passing"
  - "bundle exec rspec"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-rspec-0.8.0.alpha2 .travis.yml
opal-rspec-0.8.0.alpha1 .travis.yml
opal-rspec-0.7.1 .travis.yml