aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 462338ff2cb5a07f11cb23a6fa016004bf3ccaa0 (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
36
language: scala
scala:
  - 2.11
sudo: false

cache:
  directories:
    $HOME/.ivy2
    $INSTALL_DIR

git:
  depth: 10

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
  - verilator --version
  - cd $TRAVIS_BUILD_DIR
  - sbt clean test publish-local
  - make clean build-scala regress
  # Chisel 3 Tests
  - cd chisel3
  - sbt clean test