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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With