From 083c261364cbece280c676be52fff09b8522283c Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sat, 3 Mar 2018 17:37:43 -0800 Subject: [PATCH] travis: Move the conda install into script so it can be folded. --- .travis-build-socs.sh | 10 ++++++++++ .travis.yml | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis-build-socs.sh b/.travis-build-socs.sh index df1b71f35..2e3c274bd 100755 --- a/.travis-build-socs.sh +++ b/.travis-build-socs.sh @@ -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 diff --git a/.travis.yml b/.travis.yml index 63553c88e..f870e95e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,5 +16,4 @@ before_script: - export -f travis_time_finish script: - - conda env create -f environment.yml - ./.travis-build-socs.sh