Fix broken build

- `gem install` no longer recognizes the `--no-ri` and `--no-rdoc` options. Use `--no-document` instead.
    - References:
        - https://github.com/rubygems/rubygems/pull/2354
        - https://github.com/bundler/bundler/pull/6624
This commit is contained in:
Dale Hui 2019-01-03 16:35:22 -08:00
parent fd50054781
commit 600f2eda93
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ after_success:
- goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt - goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt
- make list-external-deps > dependency_tree.txt && cat dependency_tree.txt - make list-external-deps > dependency_tree.txt && cat dependency_tree.txt
- make build-cli - 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 dhui@users.noreply.github.com --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 - fpm -s dir -t deb -n migrate -v "$(git describe --tags 2>/dev/null | cut -c 2-)" --license MIT -m dhui@users.noreply.github.com --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: deploy:
@ -124,6 +124,7 @@ deploy:
tags: true tags: true
- provider: script - provider: script
script: ./docker-deploy.sh script: ./docker-deploy.sh
skip_cleanup: true
on: on:
go: "1.11.x" go: "1.11.x"
repo: golang-migrate/migrate repo: golang-migrate/migrate