blob: 9d965558c1059b5e7ea5626350d9d5a5098c9429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
set -e
# Skip chisel tests if the commit message says to
# Replace ... with .. in TRAVIS_COMMIT_RANGE, see https://github.com/travis-ci/travis-ci/issues/4596
if git log --format=%B --no-merges ${TRAVIS_COMMIT_RANGE/.../..} | grep '\[skip chisel tests\]'; then
exit 0
else
git clone https://github.com/freechipsproject/treadle.git --depth 10
(cd treadle && sbt $SBT_ARGS +publishLocal)
git clone https://github.com/ucb-bar/chisel3.git
mkdir -p chisel3/lib
cp utils/bin/firrtl.jar chisel3/lib
cd chisel3
sbt "set concurrentRestrictions in Global += Tags.limit(Tags.Test, 2)" clean test
fi
|