I just created a Haskell Travis CI project with this .travis.yml
:
language: haskell
ghc:
- 7.8
- 7.10
But Travis interprets the second version as 7.1
: https://travis-ci.org/fhaust/dtw/jobs/57648139
The version is only recognized if I enclose it in quotes (though this results in other errors, since 7.10 is not a version available on Travis CI):
language: haskell
ghc:
- 7.8
- "7.10"
Is this a bug?
There is an open issue for GHC 7.10 on travis-ci: https://github.com/travis-ci/travis-ci/issues/3785
It's not a bug, it's a consequence of using YAML files for config: YAML parses 7.10
as the number 7.1
.
The node.js docs on Travis do have all the version numbers in quotes:
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
- "iojs-v1.0.4"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.