-
Notifications
You must be signed in to change notification settings - Fork 236
change 'job Test -Safe' to '?Test' #595
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9cbd2ca
change 'job Test -Safe' to '?Test'
TylerLeonhardt 3b87764
see if AppVeyor can handle no required version
TylerLeonhardt 781df1c
add maximum versions
TylerLeonhardt a9e3b7c
maximum, not required. typo
TylerLeonhardt 1dc3f74
switch platyps back to requiredversion
TylerLeonhardt b3d067a
consistant platyps version
TylerLeonhardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So how did this break if we were specifying a required version of InvokeBuild? Updates to InvokeBuild shouldn't have broken our build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It actually broke Travis who didn't have a required version.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that parameter is for
Install-Module
. Oh, so maybe Travis is using a version of PowerShellGet that doesn't have that parameter? Er, that doesn't make sense because this next line uses this parameter:I think it is OK to update occassionally to the latest version of InvokeBuild. I just don't know that we want to do that everytime we build. In fact, the
-RequiredVersion
parameter is meant to prevent the very error we encountered - "new release of InvokeBuild breaks our build".OK, I think I see what is going on here. It is the travis build that is breaking, right? That build doesn't use
appveyor.yml
. It uses.travis.yml
which runsbuild\travis.ps1
. And that script has this line in it:It seems to me that we need to add
-RequiredVersion
to the above command in travis.ps1 and bump it to5.0.0
and put the parameter back in appveyor.yml and bump it up to5.0.0
as well.And add the -RequiredVersion to the install of platyPS in travis.ps1 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of
-RequiredVersion
I've specified-MaximumVersion
so that we can still get patch updates without the harsh breaking changes of a top level version number (v5 -> v6 for example).Let me know if you feel strongly otherwise 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least for
platyPS
we should stick with-RequiredVersion
because they haven't hit 1.0 yet. I don't recall them having any big breaking changes, but there isn't anything stating they won't afaictThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SeeminglyScience I've updated it everywhere to require the
0.9.0
version of the package. This is the version that Travis was using. For Windows, this means it has been updated from0.7.6
to0.9.0
. Yay consistency!