language: scala notifications: email: on_success: never # See 'project/Version.scala' scala: - 2.11.6 sbt_args: -no-colors -J-Xss2m script: - export VEXRISCV_REGRESSION_FREERTOS_COUNT=no - export VEXRISCV_REGRESSION_THREAD_COUNT=1 - sbt -jvm-opts travis/jvmopts.compile compile - sbt -jvm-opts travis/jvmopts.test test jdk: - oraclejdk8 # - oraclejdk7 # - openjdk7 env: - VEXRISCV_REGRESSION_CONFIG_COUNT=0 - VEXRISCV_REGRESSION_CONFIG_COUNT=5 - VEXRISCV_REGRESSION_CONFIG_COUNT=5 - VEXRISCV_REGRESSION_CONFIG_COUNT=5 - VEXRISCV_REGRESSION_CONFIG_COUNT=5 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 - sudo apt-get install git make autoconf g++ flex bison -y # First time prerequisites - wget https://www.veripool.org/ftp/verilator-4.012.tgz - tar xvzf verilator*.t*gz - cd verilator - autoconf # Create ./configure script - ./configure - make -j$(nproc) - sudo make install - cd .. - git clone https://github.com/SpinalHDL/SpinalHDL.git -b dev - cd VexRiscv - git submodule update --init --recursive #- 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 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/