travis: Move the conda install into script so it can be folded.
authorTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 01:37:43 +0000 (17:37 -0800)
committerTim 'mithro' Ansell <me@mith.ro>
Sun, 4 Mar 2018 01:47:11 +0000 (17:47 -0800)
.travis-build-socs.sh
.travis.yml

index df1b71f351650c17103889159deb78e75f11a579..2e3c274bd4fda15b6ac669edb9bd6c0fea5a30f2 100755 (executable)
@@ -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
index 63553c88e669f6c90eb18921e42575baed5e1fa9..f870e95e007201afe6f1e804c802945f4fb5914c 100644 (file)
@@ -16,5 +16,4 @@ before_script:
  - export -f travis_time_finish
 
 script:
- - conda env create -f environment.yml
  - ./.travis-build-socs.sh