From 456daa626066a39981985164fe641721a1171870 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 25 Sep 2020 14:08:46 +0200 Subject: [PATCH] travis: use mamba for faster builds (#196) * travis: use mamba for faster builds * doc: add release notes [skip travis] --- .travis.yml | 7 ++++++- doc/release_notes.rst | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a8e6e36e..1cebdf8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,15 @@ before_install: # install conda environment - conda env create -f ./environment.yaml + - conda install -c conda-forge mamba + - mamba env create -f ./envs/environment.yaml - conda activate pypsa-eur # install open-source solver - - conda install -c conda-forge ipopt glpk + - mamba install -c conda-forge ipopt glpk + + # list packages for easier debugging + - conda list script: - cp ./test/config.test1.yaml ./config.yaml diff --git a/doc/release_notes.rst b/doc/release_notes.rst index b33a6b6a..12d940d3 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -27,6 +27,8 @@ Upcoming Release * Fix bug of clustering offwind-{ac,dc} sites in the option of high-resolution sites for renewables. Now, there are more sites for offwind-{ac,dc} available than network nodes. Before, they were clustered to the resolution of the network. (e.g. elec_s1024_37m.nc: 37 network nodes, 1024 sites) +* Use `mamba` (https://github.com/mamba-org/mamba) for faster Travis CI builds (`#196 `_) + PyPSA-Eur 0.2.0 (8th June 2020) ==================================