diff --git a/.gitignore b/.gitignore index 404abb2..1abe828 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ +bin/ +!bin/git-generate-changelog +!bin/github_changelog_generator +pkg/ coverage/ +.bundle +spec/*.lock diff --git a/.travis.yml b/.travis.yml index c17e5d4..b171cfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ -sudo: false +cache: + - bundler language: ruby before_install: - gem update --system - gem install bundler rvm: - - 2.1.0 + - 2.1 script: bundle exec rake checks matrix: include: @@ -13,6 +14,10 @@ matrix: script: - gem build github_changelog_generator - gem install *.gem + - install: true + script: + - gem build github_changelog_generator + - bundle install --gemfile spec/install-gem-in-bundler.gemfile notifications: email: recipients: diff --git a/Gemfile.lock b/Gemfile.lock index 1f3be29..8bfbb1c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -17,10 +17,10 @@ GEM ast (2.2.0) childprocess (0.5.9) ffi (~> 1.0, >= 1.0.11) - codeclimate-test-reporter (0.4.8) + codeclimate-test-reporter (0.5.0) simplecov (>= 0.7.1, < 1.0.0) colorize (0.7.7) - coveralls (0.8.11) + coveralls (0.8.13) json (~> 1.8) simplecov (~> 0.11.0) term-ansicolor (~> 1.3) @@ -61,12 +61,12 @@ GEM powerpack (0.1.1) rack (1.6.4) rainbow (2.1.0) - rake (10.5.0) + rake (11.0.1) rspec (3.4.0) rspec-core (~> 3.4.0) rspec-expectations (~> 3.4.0) rspec-mocks (~> 3.4.0) - rspec-core (3.4.3) + rspec-core (3.4.4) rspec-support (~> 3.4.0) rspec-expectations (3.4.0) diff-lcs (>= 1.2.0, < 2.0) @@ -75,12 +75,12 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.4.0) rspec-support (3.4.1) - rubocop (0.37.2) - parser (>= 2.3.0.4, < 3.0) + rubocop (0.38.0) + parser (>= 2.3.0.6, < 3.0) powerpack (~> 0.1) rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.7) - unicode-display_width (~> 0.3) + unicode-display_width (~> 1.0, >= 1.0.1) ruby-progressbar (1.7.5) simplecov (0.11.2) docile (~> 1.1.0) @@ -92,7 +92,7 @@ GEM thor (0.19.1) thread_safe (0.3.5) tins (1.6.0) - unicode-display_width (0.3.1) + unicode-display_width (1.0.1) PLATFORMS ruby diff --git a/spec/install-gem-in-bundler.gemfile b/spec/install-gem-in-bundler.gemfile new file mode 100644 index 0000000..85493a9 --- /dev/null +++ b/spec/install-gem-in-bundler.gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "github_changelog_generator", path: Dir.glob("../pkg/github_changelog_generator-*.gem")[0]