You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2KB

  1. dist: xenial
  2. jobs:
  3. include:
  4. - os: linux
  5. services: docker
  6. language: minimal
  7. install: skip
  8. addons:
  9. apt:
  10. packages:
  11. - pass
  12. env: DOCKER=spinalhdl/dev
  13. script: ./travis.sh -c
  14. deploy:
  15. provider: script
  16. skip_cleanup: true
  17. script: ./travis.sh -d
  18. on:
  19. repo: SpinalHDL/SpinalHDL
  20. branch: master
  21. - &host
  22. language: scala
  23. # See 'project/Version.scala'
  24. scala: 2.11.12
  25. jdk: openjdk9
  26. sbt_args: -no-colors -J-Xss2m
  27. script:
  28. - sbt -jvm-opts travis/jvmopts.compile compile
  29. - sbt -jvm-opts travis/jvmopts.test test
  30. before_install:
  31. - ./travis.sh -i
  32. - export PATH=$(pwd)/../ghdl/bin:$PATH
  33. - export COCOTB=$(pwd)/../cocotb
  34. before_cache:
  35. # Tricks to avoid unnecessary cache updates
  36. - find $HOME/.ivy2 -name "ivydata-*.properties" -delete
  37. - find $HOME/.sbt -name "*.lock" -delete
  38. cache:
  39. directories:
  40. - $HOME/.ivy2/cache
  41. - $HOME/.sbt/boot/
  42. - <<: *host
  43. jdk: openjdk10
  44. - <<: *host
  45. jdk: openjdk11
  46. # - <<: *host
  47. # jdk: openjdk7
  48. # - <<: *host
  49. # jdk: oraclejdk7