travis: Move the conda install into script so it can be folded.

This commit is contained in:
Tim 'mithro' Ansell 2018-03-03 17:37:43 -08:00
parent da3189c8b5
commit 083c261364
2 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,16 @@
set -e
travis_fold start "environment.create"
travis_time_start
echo "Setting up basic conda environment"
echo "-------------------------------------------------------------------"
conda env create -f environment.yml
source activate litex
echo "-------------------------------------------------------------------"
travis_time_finish
travis_fold end "environment.create"
echo "-"
SOC_FILES=$(find litex/boards/targets -name \*.py | grep -v sim | grep -v "__")
@ -26,4 +35,5 @@ for SOC_FILE in $SOC_FILES; do
find soc_*$TARGET* | sort
echo "-------------------------------------------------------------------"
travis_fold end "$SOC.2"
echo "-"
done

View File

@ -16,5 +16,4 @@ before_script:
- export -f travis_time_finish
script:
- conda env create -f environment.yml
- ./.travis-build-socs.sh