-
Notifications
You must be signed in to change notification settings - Fork 723
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
Golang v1.10 is parsed as 1.1 #9247
Comments
https://docs.travis-ci.com/user/languages/go now explicitly states:
I'll keep this open for now, so that other users can find it easily. |
FWIW, I tried "1.10.x" to specify any point release and it didn't work. |
@rphillips Do you have a build log URL that shows it didn’t work for you? |
That build is 5 days old. The fix for |
will do. thanks |
1.10 was being parsed as 1.1. Issue - travis-ci/travis-ci#9247
"1.10" does not work as expected because it is parsed as a floating point number: travis-ci/travis-ci#9247 Added benefit is that we always get the latest point release.
Allows local builds in golang 1.10 on OS X to work. Done as part of needing a new spin for new OS X version (10.13). This also wraps the version marker in the Travis CI yaml per a known bug (travis-ci/travis-ci#9247) where the version marker was being trapped as 1.1.
See travis-ci/travis-ci#9247 for more info
Workaround mentioned in: travis-ci/travis-ci#9247
See travis-ci/travis-ci#9247. Also add a ".x" suffix to each version so that Travis selects the latest minor release.
- Fix building for go1.10, see travis-ci/travis-ci#9247. - Add a ".x" suffix to each version so that Travis selects the latest minor release. - Remove go1.1, which is not available anymore on Travis.
Without quotes Travis CI is parsing 1.10 as 1.1. See issue travis-ci/travis-ci#9247
@xyproto Yes, they are. Are you having problems related to this issue? |
As documented in https://docs.travis-ci.com/user/languages/go and mentioned in travis-ci/travis-ci#9247 the version for go 1.10 has to be quoted in order to be parsed correct.
As per travis-ci/travis-ci#9247 Travis treats 1.10 as a number
"1.10" is put into quotes because otherwise Travis parses that as 1.1 - see e.g. travis-ci/travis-ci#9247.
"1.10" is put into quotes because otherwise Travis parses that as 1.1 - see e.g. travis-ci/travis-ci#9247.
Signed-off-by: cheyang <cheyang@163.com>
Signed-off-by: cheyang <cheyang@163.com> fix travis issue:travis-ci/travis-ci#9247 Signed-off-by: cheyang <cheyang@163.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fix version of Golang for Travis Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. - Telemetry not starting due to systemd issues - Disabled Telemetry testing under this is resolved Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fix version of Golang for Travis Setting to 1.10 get parsed as a float and interrupted as 1.1 instead of 1.10. Adding quotes so it is treated as string. See: travis-ci/travis-ci#9247 Revamp to use a Clear Linux Docker image for build and test. - Telemetry not starting due to systemd issues - Disabled Telemetry testing under this is resolved Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
as pointed in travis-ci/travis-ci#9247
What happened
Adding Go version
1.10
to the .travis.yml is counted as1.1
..travis.yml
Build results
Builds
Log for #3.4:
How to fix
Versions have to be wrapped in brackets in order for Travis to parse them correctly:
The text was updated successfully, but these errors were encountered: