Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis for Linux and add directives for macOS #26

Closed
wants to merge 3 commits into from

Conversation

jdwelch
Copy link
Contributor

@jdwelch jdwelch commented Dec 11, 2018

Idk if this is the best way to do this, but it does seem to work, cf.
https://travis-ci.org/lyraproj/lyra/builds/466594959 and https://github.com/lyraproj/lyra/releases/tag/fix-travis

NB: I'm not sure why the previous api_key did not work; would be good to get someone else to see if the new one works for a user who is not me (ie the one who generated it)

jdwelch added 2 commits December 11, 2018 14:45
Signed-off-by: jdwelch <jdwelch@puppet.com>
@jdwelch
Copy link
Contributor Author

jdwelch commented Dec 11, 2018

[NB2: To trigger the release task(s), create a new GH Release from the fix-travis branch. Haven't tried doing this from the command line, yet.]

Makefile Outdated
@@ -120,20 +120,17 @@ vet:

PHONY+= dist-release
dist-release:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty brittle, obviously (e.g. will break if we go back to multiple binaries, etc.) but I went for explicit and simple for the time being. It's easy enough to change later as required.

.travis.yml Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
@markfuller
Copy link
Contributor

[NB2: To trigger the release task(s), create a new GH Release from the fix-travis branch. Haven't tried doing this from the command line, yet.]

https://github.com/lyraproj/lyra/releases/tag/fix-travis2 looks like this worked ok @jdwelch ?

@jdwelch
Copy link
Contributor Author

jdwelch commented Dec 12, 2018

Yup, worked!

+ adds back 'shrink' target
+ ensures `upx` is available on macOS target (for ↑ to work)

Signed-off-by: jdwelch <jdwelch@puppet.com>

¯\_(ツ)_/¯

Signed-off-by: jdwelch <jdwelch@puppet.com>

¯\_(ツ)_/¯

Signed-off-by: jdwelch <jdwelch@puppet.com>
@jdwelch jdwelch closed this Jan 19, 2019
@thallgren thallgren deleted the maint/fix-travis branch January 19, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants