Skip to content

Commit

Permalink
Make travis.yml valid and to unblock gem releases (#782)
Browse files Browse the repository at this point in the history
In https://travis-ci.org/github/ctran/annotate_models/builds/659982898/config?utm_medium=notification&utm_source=github_status it looks like `travis.yml` is not valid and seems the `matrix` portion seems to be overwriting `jobs`, which is used to release the gem. 

This config is valid. I used `travis lint .travis.yml` to validate locally.
  • Loading branch information
drwl authored Mar 24, 2020
1 parent 5745034 commit c9e85d3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ rvm:
env:
- RAILS_ENV=development RACK_ENV=development

matrix:
allow_failures:
- rvm: ruby-head

addons:
apt_packages:
- libsqlite3-dev
Expand All @@ -30,7 +26,7 @@ jobs:
include:
- stage: gem release
if: tag =~ ^v
rvm: 2.6.0
rvm: 2.6.5
script: echo "Deploying to rubygems.org ..."
deploy:
provider: rubygems
Expand Down

0 comments on commit c9e85d3

Please sign in to comment.