Skip to content

Instantly share code, notes, and snippets.

@yosmoc
Last active February 8, 2016 21:16
Show Gist options
  • Save yosmoc/a37b2adf11f84067256e to your computer and use it in GitHub Desktop.
Save yosmoc/a37b2adf11f84067256e to your computer and use it in GitHub Desktop.
Travis CI で複数環境でテストしたあとビルドプロセスは特定の環境で行いたい時のTips ref: http://qiita.com/samurai20000@github/items/fb47850cd8fbc4e46ee2
after_script:
- if [ "$TRAVIS_GO_VERSION" = "1.5.3" ] && [ "$BUILD_GOOS" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
after_script:
- if [ "$TRAVIS_GO_VERSION" = "1.5.3" ] && [ "$BUILD_GOOS" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi
after_script:
deploy:
provider: releases
api_key: "GITHUB OAUTH TOKEN"
file: "FILE TO UPLOAD"
skip_cleanup: true
on:
tags: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment