9fb7934a37
Make travis use a docker image with pre-built toolchain and verilator
37 lines
937 B
YAML
37 lines
937 B
YAML
git:
|
|
submodules: false
|
|
language: scala
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
cache:
|
|
directories:
|
|
$HOME/.ivy2
|
|
|
|
env:
|
|
global:
|
|
- CACHE_NAME=RocketChip
|
|
- RISCV=/opt/riscv
|
|
- TORTURE_CONFIG=default
|
|
matrix:
|
|
- SUITE=RocketSuiteA
|
|
- SUITE=RocketSuiteB
|
|
- SUITE=RocketSuiteC
|
|
- SUITE=GroundtestSuiteA
|
|
- SUITE=GroundtestSuiteB
|
|
- SUITE=UnittestSuite
|
|
|
|
# blacklist private branches
|
|
branches:
|
|
except:
|
|
- hwacha
|
|
- boom
|
|
- /^hurricane.*$/
|
|
|
|
before_install:
|
|
- docker pull hcook/docker-riscv
|
|
|
|
script:
|
|
- 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"
|