summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-01-05 15:01:56 -0800
committerJeff McCune <jeff@puppetlabs.com>2013-01-05 15:32:43 -0800
commitd0820469b4f7cc05e498866db57e39735f7113e0 (patch)
treeb7738fee915053992211316349f81d67fd4f3835 /.travis.yml
parent388cfa547de3021c0e82e3bbe60904f1e71d5f29 (diff)
(maint) Add Travis CI Support
Without this patch stdlib has Travis CI configuration files, but they don't seem to completely specify the dependency versions and the build matrix. This patch addresses the problem by putting the dependency information in the conventional Gemfile location. This patch should coincide with enabling Travis CI support for pull requests. A build status image is also included in the project README.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 11 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 0ec5a08..b6b408a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,15 @@
language: ruby
+bundler_args: --without development
+script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
+notifications:
+ email: false
rvm:
+ - 1.9.3
- 1.8.7
-before_script:
-after_script:
-script: "rake spec_full"
-branches:
- only:
- - master
env:
- - PUPPET_VERSION=2.7.13
- - PUPPET_VERSION=2.7.6
- - PUPPET_VERSION=2.6.9
-notifications:
- email: false
-gemfile: .gemfile
+ - PUPPET_GEM_VERSION="~> 2.7.0"
+ - PUPPET_GEM_VERSION=">= 3.0.0"
+matrix:
+ exclude:
+ - rvm: 1.9.3
+ env: PUPPET_GEM_VERSION="~> 2.7.0"