Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
    - `gem install` no longer recognizes the `--no-ri` and `--no-rdoc` options. Use `--no-document` instead.
    - References:
        - rubygems/rubygems#2354
        - rubygems/bundler#6624
  • Loading branch information
dhui committed Jan 4, 2019
1 parent fd50054 commit 600f2ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ after_success:
- goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt
- make list-external-deps > dependency_tree.txt && cat dependency_tree.txt
- make build-cli
- gem install --no-ri --no-rdoc fpm
- gem install --no-document fpm
- fpm -s dir -t deb -n migrate -v "$(git describe --tags 2>/dev/null | cut -c 2-)" --license MIT -m [email protected] --url https://github.com/golang-migrate/migrate --description='Database migrations' -a amd64 -p migrate.$(git describe --tags 2>/dev/null | cut -c 2-).deb --deb-no-default-config-files -f -C cli/build migrate.linux-amd64=/usr/local/bin/migrate

deploy:
Expand Down Expand Up @@ -124,6 +124,7 @@ deploy:
tags: true
- provider: script
script: ./docker-deploy.sh
skip_cleanup: true
on:
go: "1.11.x"
repo: golang-migrate/migrate
Expand Down

0 comments on commit 600f2ed

Please sign in to comment.