Skip to content

Commit

Permalink
always publish the cache if we use it
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Oct 14, 2013
1 parent 56fd8c2 commit d137d90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/travis/build/script.rb
Expand Up @@ -93,7 +93,7 @@ def export
end

def finish
push_directory_cache if data.cache? :bundler
push_directory_cache
end

def setup
Expand Down
4 changes: 3 additions & 1 deletion play/cache_bundler.rb
Expand Up @@ -34,7 +34,9 @@
rvm: '1.9.3',
bundler_args: '--without foo --deployment',
before_deploy: "foo bar",
cache: "bundler",
cache: {
directories: ["foo", "bar"]
},
addons: {
deploy: {
provider: 'heroku',
Expand Down

0 comments on commit d137d90

Please sign in to comment.