1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
libv8/.travis.yml
2017-10-23 22:58:44 +03:00

69 lines
1.7 KiB
YAML

language: ruby
rvm:
- 2.4.2
- 2.3.5
- 2.2
- rbx
matrix:
include:
- rvm: 2.4.0
os: osx
osx_image: xcode8.2
- rvm: 2.4.0
os: osx
osx_image: xcode7.3
- rvm: 2.4.0
os: osx
osx_image: xcode6.4
- rvm: 2.4.0
os: osx
osx_image: xcode9.1
- rvm: system
os: osx
osx_image: xcode8.2
- rvm: system
os: osx
osx_image: xcode7.3
- rvm: system
os: osx
osx_image: xcode6.4
- rvm: system
os: osx
osx_image: xcode9.1
- rvm: ruby-2.3.1-clang
env: CXX=clang++
- rvm: 1.9.3
allow_failures:
- rvm: 1.9.3
- rvm: rbx
fast_finish: true
dist: trusty
addons:
apt:
packages:
- clang
bundler_args: --jobs=4 --retry=3
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update bundler; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update --system; fi
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" == "system" ]; then sudo gem install bundler; fi
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update --system; fi
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update bundler; fi
script:
- git submodule update --init
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
deploy:
provider: releases
file: $(git ls-files -o pkg | head -1)
api_key:
secure: OMCBceg89uRnU+FIPAPbeOK2pISvV4Cz62r9iTRIGXQCOOXX8M40i77/3DmtkMtc9FEuNyAu1+CH886PL2WtZZPK4CmEU3HuqXz1a5VsCI+zcAZL1tevKvblXOVQ3MG+B/SZRC3rEzGwjk4027WtzCCGoGCLUu4TFJP05+/8XN4=
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_OS_NAME = osx
cache:
bundler: true
notifications:
recipients:
- cowboyd@thefrontside.net
- bordjukov@gmail.com