summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRob Nelson <rnelson0@gmail.com>2016-01-08 07:53:48 -0500
committerRob Nelson <rnelson0@gmail.com>2016-01-08 07:53:48 -0500
commit69497084df428f3fe4dc231a7d787fa97a2a5231 (patch)
tree23744b368946d8d4fb88271da92638cd6c3c8521 /.travis.yml
parenta40c74f277a30025fbd616115a1c122fa51bd75a (diff)
parent8473912c31aa08e0453789ed31cbd63aa344de15 (diff)
Merge pull request #41 from voxpupuli/modulesync
Update from voxpupuli modulesync_config Rubocop fixes coming in a second PR
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 19 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 12a6d7a..115d3c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,26 @@
---
-language: ruby
sudo: false
-
-script: "bundle exec rake test SPEC_OPTS='--format documentation'"
-
+language: ruby
+cache: bundler
+bundler_args: --without system_tests
+before_install: rm Gemfile.lock || true
+script:
+ - 'bundle exec rake $CHECK'
matrix:
fast_finish: true
include:
- - rvm: 2.1
- env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random"
- - rvm: 2.1
- env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" FUTURE_PARSER="yes"
- - rvm: 2.1
- env: PUPPET_VERSION="~> 4.0" ORDERING="random"
+ - rvm: 1.9.3
+ env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test
+ - rvm: 2.1.7
+ env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test
+ - rvm: 2.1.7
+ env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
+ - rvm: 2.2.3
+ env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test
+ - rvm: 2.2.3
+ env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=rubocop
notifications:
email: false
-
deploy:
provider: puppetforge
user: puppet
@@ -23,5 +28,7 @@ deploy:
secure: "PzzvPB326Yx0hheLbusZGYCGW4i1jOOMjwJMC/7QpbN4+gvMdmHpmQP3XeQ5tm+YYXqLPMyr1he1viTln8GPqLk1qpzF55H5mTakPxMjWZfRYvM+Q7lmtOEsBEXXSJk0ZYwMHXGVd8ouDrhaRzS2JqnhCAhLat0HeLcERWZx6Ok="
on:
tags: true
+ # all_branches is required to use tags
all_branches: true
- rvm: 2.1
+ # Only publish if our main Ruby target builds
+ rvm: 1.9.3