Skip to content

Commit d637e75

Browse files
authored
ci: Add Travis config (#3)
* ci: Add Travis config * travis: Install rake-compiler, build extension * travis: rake compile without bundle * travis: Move rake compile to before_install * gemspec: Add minitest dep * Gemfile: Remove lockfile
1 parent 1cc10e4 commit d637e75

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: ruby
2+
rvm:
3+
- 2.3
4+
- 2.4
5+
- 2.5
6+
- 2.6
7+
cache: bundler
8+
before_install:
9+
- gem update --system
10+
- gem install bundler rake-compiler
11+
- rake compile
12+
script:
13+
- bundle exec rake

Gemfile.lock

Lines changed: 0 additions & 23 deletions
This file was deleted.

inih.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
1414
s.homepage = "https://github.com/woodruffw/ruby-inih"
1515
s.license = "MIT"
1616

17+
s.add_development_dependency "minitest"
1718
s.add_development_dependency "rake-compiler"
1819
s.add_development_dependency "yard"
1920
end

0 commit comments

Comments
 (0)