Does Travis ci allow ghc versions larger than 7.8?

前端 未结 1 637
深忆病人
深忆病人 2021-02-20 04:05

I just created a Haskell Travis CI project with this .travis.yml:

language: haskell
ghc:
  - 7.8
  - 7.10

But Travis interprets th

1条回答
  •  不知归路
    2021-02-20 04:55

    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" 
    

    0 讨论(0)
提交回复
热议问题