mirror of https://github.com/status-im/migrate.git
Move before_deploy steps to after_success to avoid re-building the binary before every deploy
- https://docs.travis-ci.com/user/job-lifecycle/#deploying-your-code
This commit is contained in:
parent
83f5b9f644
commit
d27dc63026
|
@ -43,8 +43,6 @@ script:
|
||||||
after_success:
|
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
|
||||||
|
|
||||||
before_deploy:
|
|
||||||
- make build-cli
|
- make build-cli
|
||||||
- gem install --no-ri --no-rdoc fpm
|
- gem install --no-ri --no-rdoc 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
|
||||||
|
|
Loading…
Reference in New Issue