diff --git a/.travis-build-socs.sh b/.travis-build-socs.sh new file mode 100755 index 000000000..44f943b6a --- /dev/null +++ b/.travis-build-socs.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -x +set -e + +source activate litex + +SOC_FILES=$(find litex/boards/targets -name \*.py | grep -v sim | grep -v "__") + +for SOC_FILE in $SOC_FILES; do + SOC=$(echo $SOC_FILE | sed -e's/\.py$//' -e's-/-.-g') + python -m $SOC --no-compile-gateware +done + +find soc_* | sort diff --git a/.travis.yml b/.travis.yml index 822ff36b1..b05a4b566 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ install: script: - conda env create -f environment.yml - - source activate litex + - ./.travis-build-socs.sh