1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
libv8/.travis.yml
2019-04-24 09:48:17 +03:00

48 lines
1.4 KiB
YAML

dist: xenial
compiler: clang
language: ruby
rvm:
- 2.5
- 2.4
- rubinius-3
matrix:
include:
- rvm: 2.5.1
os: osx
osx_image: xcode9.4.1
- rvm: 2.5.1
os: osx
osx_image: xcode9.2
allow_failures:
- rvm: rubinius-3
fast_finish: true
addons:
apt:
packages:
- clang
- pkg-config
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
- 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