travis: Build all the SoCs (without gateware).

- TODO: Build the simulator SoC.
This commit is contained in:
Tim 'mithro' Ansell 2018-03-03 16:41:53 -08:00
parent e65c121adf
commit 12bb3ebf7c
2 changed files with 16 additions and 1 deletions

15
.travis-build-socs.sh Executable file
View File

@ -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

View File

@ -11,4 +11,4 @@ install:
script:
- conda env create -f environment.yml
- source activate litex
- ./.travis-build-socs.sh