inspec/.travis.yml
2016-09-27 14:23:32 -04:00

66 lines
2.6 KiB
YAML

sudo: required
branches:
only:
- master
language: ruby
cache: bundler
dist: trusty
services:
- docker
bundler_args: "--without integration tools maintenance deploy"
before_install:
- gem install bundler
- gem update --system 2.4.5
- gem --version
matrix:
include:
- rvm: 1.9.3
- rvm: 2.1.8
- rvm: 2.2.5
- rvm: 2.3.1
script: bundle exec rake $SUITE
env: SUITE="lint test test:functional"
- rvm: 2.3.1
script: bundle exec rake $SUITE
env: SUITE="test:resources config=test/test.yaml" N=2
- rvm: 2.3.1
script: bundle exec rake $SUITE
env: SUITE="test:resources config=test/test-extra.yaml" N=2
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS=default-ubuntu-1204 DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-ubuntu-1604' DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-centos-68' DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-centos-7' DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-debian-8' DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-oracle-72' DOCKER=true
- rvm: 2.3.1
bundler_args: "--without guard tools"
script: bundle exec rake $SUITE
env: SUITE=test:integration OS='default-fedora-24' DOCKER=true
allow_failures:
- env: SUITE="test:resources config=test/test.yaml" N=2
- env: SUITE="test:resources config=test/test-extra.yaml" N=2
deploy:
provider: rubygems
on:
tags: true
api_key:
secure: uI2Zy3z4ljvOoG/6E4XPmSDg4QX5jmUfp6N9lzOfOosuZGjiGG6cWe4QMfidIz4/B5Ctp9X78bYCPxLkhCPmY9qcsR6eimQsC5AwGJhQF2Fz5fSX12LO+P4H7bis/A7cP+6QYNU8n9oXy6MYIdaw8aLJoEK4tKlNueWYhKG99O1taiF6qXsKkuNXZW7LT3B774IRCK0+BUknfW22ksAOeSpk10dkPXW5lEluXq/Q60L6+Cy01Yix1gLNav7ftMeOtE968mK3L1mzf0L3q8Tih3PLwEzYZRYQRTsd8f1J6XmNZtpdW5QiehvX08ZiFT28Dx15GMp5OKc7TnfU5avm8ryxFJB8xfdrkwNPf/UB3z1IVpHIJ6ZQlHDaiJBL429ZgYSCwrdk71IHWaAK4zSuOZyE+y9EmXbdgLLMgY6QIVrgoBLzzHLCQADXchrMaYR8LIkKI5euOfl3d96sSqXrIN/v1LSlPG/Z1LVO07cYarVGy3J/iM5aTghw3ixZcdlepGrU9DIxe7kRhmz7OLDGTZiPyRzXX1IRjaxSBMGmQSJVv6+r2UJRLmpC3W+1ysXY7nZtffzrFXHGacyvcIHxm8KSPvHgfloPvgFeebcTHcly50TOcZuBc4ZF9HZwWR5lEg/1OX5puBYE7IYfLyFm48+pqFk++tbn2glE742BhkY=