blob: e58344d95e89106ed2bd07dca95863ce60e5352d (
plain)
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
|
language: scala
scala:
- 2.11
sudo: false
cache:
directories:
$HOME/.ivy2
$INSTALL_DIR
git:
depth: 3
sbt_args: -Dsbt.log.noformat=true
env:
global:
INSTALL_DIR=$TRAVIS_BUILD_DIR/install
VERILATOR_ROOT=$INSTALL_DIR
PATH=$PATH:$VERILATOR_ROOT/bin:$TRAVIS_BUILD_DIR/utils/bin
install:
# Grab Chisel 3
- git clone https://github.com/ucb-bar/chisel3.git
# Install Verilator (if not found in cache)
- bash .install_verilator.sh
script:
# FIRRTL Tests
- cd $TRAVIS_BUILD_DIR
- sbt clean test
- make clean build-scala regress
# Chisel 3 Tests
- cd chisel3
- sbt clean test
|