Expected feature release number in range 9 to 13, but got:8

今天在運行travis CI 的時候,發現瞭如下的錯誤:

Expected feature release number in range of 9 to 13, but got: 8

我用的是jdk版本是:oraclejdk8

travis的配置在.travis.yml裏面

解決方法

由於playframework 支持jdk 8,所以這裏換成openjdk8(openjdk10也測試了,會報其他的錯誤,這個可以根據自己的項目來):

matrix:
  include:
    - language: scala
      scala:
        - 2.12.8
      jdk: openjdk8
#      jdk: oraclejdk8
#    - language: node_js
#      node_js:
#        - 10.15.0
#      before_install:
#        - cd web
#      install:
#        - yarn install

notifications:
  email: false

參考文獻

[1]. Install of openjdk11 is failing (again). https://travis-ci.community/t/install-of-openjdk11-is-failing-again/3061

[2]. The Travis CI Build Could not be completed due to an error. https://travis-ci.community/t/the-travis-ci-build-could-not-be-completed-due-to-an-error/1345

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章