2018-05-17 12:43:52 -04:00
|
|
|
language: scala
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
|
|
|
|
# See 'project/Version.scala'
|
|
|
|
scala:
|
|
|
|
- 2.11.6
|
|
|
|
|
|
|
|
sbt_args: -no-colors -J-Xss2m
|
|
|
|
|
|
|
|
script:
|
2018-08-17 14:07:09 -04:00
|
|
|
- export VEXRISCV_REGRESSION_FREERTOS_COUNT=no
|
2019-04-19 11:35:48 -04:00
|
|
|
- export VEXRISCV_REGRESSION_THREAD_COUNT=1
|
2018-05-17 12:43:52 -04:00
|
|
|
- sbt -jvm-opts travis/jvmopts.compile compile
|
|
|
|
- sbt -jvm-opts travis/jvmopts.test test
|
|
|
|
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
2018-05-17 12:52:21 -04:00
|
|
|
# - oraclejdk7
|
2018-05-17 12:43:52 -04:00
|
|
|
# - openjdk7
|
|
|
|
|
2018-05-17 12:56:31 -04:00
|
|
|
env:
|
2019-04-19 11:35:48 -04:00
|
|
|
- VEXRISCV_REGRESSION_CONFIG_COUNT=0
|
2019-04-19 12:33:04 -04:00
|
|
|
- VEXRISCV_REGRESSION_CONFIG_COUNT=5
|
|
|
|
- VEXRISCV_REGRESSION_CONFIG_COUNT=5
|
|
|
|
- VEXRISCV_REGRESSION_CONFIG_COUNT=5
|
|
|
|
- VEXRISCV_REGRESSION_CONFIG_COUNT=5
|
2018-05-17 12:52:21 -04:00
|
|
|
|
2018-05-17 12:43:52 -04:00
|
|
|
before_install:
|
|
|
|
# JDK fix
|
|
|
|
- cat /etc/hosts # optionally check the content *before*
|
|
|
|
- sudo hostname "$(hostname | cut -c1-63)"
|
|
|
|
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
|
|
|
|
- cat /etc/hosts # optionally check the content *after*
|
|
|
|
- cd ..
|
|
|
|
|
|
|
|
# Verilator
|
2018-05-28 03:02:01 -04:00
|
|
|
- sudo apt-get install git make autoconf g++ flex bison -y # First time prerequisites
|
2019-04-19 11:35:48 -04:00
|
|
|
- wget https://www.veripool.org/ftp/verilator-4.012.tgz
|
|
|
|
- tar xvzf verilator*.t*gz
|
2019-04-19 11:38:51 -04:00
|
|
|
- cd verilator*
|
2018-05-28 03:02:01 -04:00
|
|
|
- ./configure
|
|
|
|
- make -j$(nproc)
|
|
|
|
- sudo make install
|
|
|
|
- cd ..
|
|
|
|
|
2018-12-08 09:16:17 -05:00
|
|
|
- git clone https://github.com/SpinalHDL/SpinalHDL.git -b dev
|
2018-09-27 13:06:33 -04:00
|
|
|
|
2018-05-28 14:53:52 -04:00
|
|
|
- cd VexRiscv
|
2019-04-19 11:35:48 -04:00
|
|
|
- git submodule update --init --recursive
|
2018-05-28 03:02:01 -04:00
|
|
|
#- curl -T README.md -udolu1990:$BINTRAY_KEY https://api.bintray.com/content/spinalhdl/VexRiscv/test/0.0.4/README.md
|
|
|
|
#- curl -X POST -udolu1990:$BINTRAY_KEY https://api.bintray.com/content/spinalhdl/VexRiscv/test/0.0.4/publish
|
|
|
|
#- sbt compile
|
2018-05-17 12:43:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
# Tricks to avoid unnecessary cache updates
|
|
|
|
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
|
|
|
|
- find $HOME/.sbt -name "*.lock" -delete
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ivy2/cache
|
|
|
|
- $HOME/.sbt/boot/
|
2019-04-19 12:28:46 -04:00
|
|
|
- verilator-4.012
|