1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

chore: changing the order of the tasks

GoReleaser will fail to run on a non-empty dist
This commit is contained in:
Carlos Alexandro Becker 2017-12-05 22:36:00 -02:00 committed by Carlos Alexandro Becker
parent 5ec6ddec9f
commit 94481dfbe2

View File

@ -13,12 +13,12 @@ install:
- sudo snap install snapcraft --candidate --classic - sudo snap install snapcraft --candidate --classic
script: script:
- make ci - make ci
- make static
- test -n "$TRAVIS_TAG" || go run main.go --skip-validate --skip-publish - test -n "$TRAVIS_TAG" || go run main.go --skip-validate --skip-publish
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && go run main.go - test -n "$TRAVIS_TAG" && go run main.go
- make static
deploy: deploy:
provider: pages provider: pages
skip_cleanup: true skip_cleanup: true