diff --git a/.travis.yml b/.travis.yml index 2463e4f26a..10d19d3650 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: ruby sudo: false +cache: bundler rvm: - 2.1 branches: diff --git a/Rakefile b/Rakefile index 33921e6165..5a0cc1feb4 100644 --- a/Rakefile +++ b/Rakefile @@ -114,8 +114,6 @@ task :invalidate_cloudfront do public_files.delete_if{|f| File.directory?(f) } public_files.each{|f| cleaned_files.push '/' + f} - puts "\n\ntravis branch " + ENV["TRAVIS_BRANCH"] - if ENV["TRAVIS_BRANCH"] == "master" cf_distro_id = ENV["PROD_CLOUDFRONT_DISTRO"] else @@ -125,7 +123,6 @@ task :invalidate_cloudfront do invalidator = SimpleCloudfrontInvalidator::CloudfrontClient.new(ENV["PROD_ACCESS_KEY"], ENV["PROD_SECRET_KEY"], cf_distro_id) puts invalidator.invalidate(public_files) - puts "Invalidated CloudFront" end desc "index the generated files"