Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let travis call rake spec with the proper LOAD_PATH set. #108

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
sudo: false
language: ruby
before_script: 'bundle exec rake fixture:prepare'
script: 'SPEC_OPTS="--format documentation" bundle exec rake spec'
script: 'SPEC_OPTS="--format documentation -I $(puppet module list | head -n1)/filemapper/lib" bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1
env:
- PUPPET_GEM_VERSION="~> 2.7"
- PUPPET_GEM_VERSION="~> 3.3"
- PUPPET_GEM_VERSION="~> 3.7"
- PUPPET_VERSION="~> 2.7"
- PUPPET_VERSION="~> 3.3"
- PUPPET_VERSION="~> 3.7"
- PUPPET_VERSION="~> 4"
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: 1.8.7
env: PUPPET_VERSION="~> 4"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.7"
env: PUPPET_VERSION="~> 2.7"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 2.7"
env: PUPPET_VERSION="~> 2.7"
- rvm: 2.1
env: PUPPET_GEM_VERSION="~> 2.7"
env: PUPPET_VERSION="~> 2.7"
fast_finish: true
notifications:
email: false
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ puppet-network

Manage non-volatile network and route configuration.

Travis Test status: [![Build Status](https://travis-ci.org/puppet-community/puppet-network.png?branch=master)](https://travis-ci.org/puppet-community/puppet-network)
Travis Test status: [![Build Status](https://travis-ci.org/jimpanic/puppet-network.png?branch=master)](https://travis-ci.org/jimpanic/puppet-network)

Examples
--------
Expand Down