2016-05-25 20:21:06 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
2015-08-25 22:29:20 +02:00
|
|
|
language: scala
|
2016-12-04 22:10:13 +01:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2016-02-23 02:41:01 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
$HOME/.ivy2
|
2015-08-25 22:29:20 +02:00
|
|
|
|
|
|
|
env:
|
2016-12-04 22:10:13 +01:00
|
|
|
global:
|
|
|
|
- CACHE_NAME=RocketChip
|
|
|
|
- RISCV=/opt/riscv
|
|
|
|
- TORTURE_CONFIG=default
|
2015-11-28 16:17:49 +01:00
|
|
|
matrix:
|
2016-11-22 00:12:05 +01:00
|
|
|
- SUITE=RocketSuiteA
|
|
|
|
- SUITE=RocketSuiteB
|
|
|
|
- SUITE=RocketSuiteC
|
2016-11-23 21:18:18 +01:00
|
|
|
- SUITE=GroundtestSuiteA
|
|
|
|
- SUITE=GroundtestSuiteB
|
2016-09-15 03:10:21 +02:00
|
|
|
- SUITE=UnittestSuite
|
2015-08-25 22:29:20 +02:00
|
|
|
|
2015-09-09 00:13:38 +02:00
|
|
|
# blacklist private branches
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- hwacha
|
|
|
|
- boom
|
2016-10-15 01:38:10 +02:00
|
|
|
- /^hurricane.*$/
|
2015-09-09 00:13:38 +02:00
|
|
|
|
2015-08-25 22:29:20 +02:00
|
|
|
before_install:
|
2016-12-04 22:10:13 +01:00
|
|
|
- docker pull hcook/docker-riscv
|
2015-08-25 22:29:20 +02:00
|
|
|
|
|
|
|
script:
|
2016-12-04 22:10:13 +01:00
|
|
|
- docker run -v /home/travis/build/ucb-bar/rocket-chip:/opt/riscv/test hcook/docker-riscv /bin/sh -c "which verilator; echo $INSTALLED_VERILATOR"
|
|
|
|
- docker run -v $HOME/.ivy2:/opt/riscv/test/.ivy2 -v /home/travis/build/ucb-bar/rocket-chip:/opt/riscv/test hcook/docker-riscv /bin/sh -c "make emulator-ndebug -C regression SUITE=$SUITE; make emulator-regression-tests -C regression SUITE=$SUITE"
|