travis: Move the conda install into script so it can be folded.
This commit is contained in:
parent
da3189c8b5
commit
083c261364
|
@ -2,7 +2,16 @@
|
||||||
|
|
||||||
set -e
|
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
|
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 "__")
|
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
|
find soc_*$TARGET* | sort
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
travis_fold end "$SOC.2"
|
travis_fold end "$SOC.2"
|
||||||
|
echo "-"
|
||||||
done
|
done
|
||||||
|
|
|
@ -16,5 +16,4 @@ before_script:
|
||||||
- export -f travis_time_finish
|
- export -f travis_time_finish
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- conda env create -f environment.yml
|
|
||||||
- ./.travis-build-socs.sh
|
- ./.travis-build-socs.sh
|
||||||
|
|
Loading…
Reference in New Issue