-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
Signed-off-by: Stan Hu <stanhu@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.test-template: &test | ||
cache: | ||
paths: | ||
- vendor/ruby | ||
before_script: | ||
- gem install bundler --no-document | ||
- bundle config set --local path 'vendor/bundle' | ||
- bundle config set --local without 'development' | ||
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
- ruby -v # Print out ruby version for debugging | ||
script: | ||
- bundle exec rake compile | ||
- bundle exec rake test | ||
|
||
rspec-2.7: | ||
image: "ruby:2.7" | ||
<<: *test | ||
|
||
rspec-3.0: | ||
image: "ruby:3.0" | ||
<<: *test | ||
This comment has been minimized.
Sorry, something went wrong.
eregon
|
The
--path vendor
seems extra here.