one_gadget/.travis.yml

34 lines
708 B
YAML

language: ruby
cache: bundler
dist: trusty
os:
- linux
addons:
apt:
packages:
- binutils-multiarch
- grep
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
branches:
only:
- master
matrix:
allow_failures:
- rvm: ruby-head
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; chmod +x ./cc-test-reporter; ./cc-test-reporter before-build; fi
before_install:
- gem update --system
- gem install bundler
- gem --version
after_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi