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