[1.1.0] Travis automated windows builds #2626
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds windows as a travis build target for tagging only.
Annoyingly, there appears to be an issue with travis windows builds whereby if an encrypted env variable is defined the windows build just hangs. Right now the build relies on someone's API key referenced as
$GITHUB_TOKEN
, which causes the build to hang if included. This is only being used to generate a changelog on the linux build.This will probably be fixed at some stage, but in the meantime, windows builds will have to be done separately using the following highly annoying process:
-win
to it), and let it build/releaseHopefully travis ci addresses this before release.
We'll probably need to regenerate the github api key at some stage and ensure it's updated in the travis ci project settings and in .travis.yml. As a reminder, the command to create an encrypted version to directly embed in travis.yml (under api_key) is:
travis encrypt [token] deploy.api_key
Also note this process has only been tested in grin-wallet to create pre-releases: https://github.com/mimblewimble/grin-wallet/releases