Skip to content

Commit

Permalink
Fix travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineGautier committed Sep 21, 2023
1 parent a79089d commit 94a8a0e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,11 @@ env:

before_install:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- if [[ "$TEST_ARG" == *test-dymola* || \
"$TEST_ARG" == *test-templates-dymola* || \
"$TEST_ARG" == *test-bestest* || \
"$TEST_ARG" == *spawn-portability* ]]; then
- if [[ "$TEST_ARG" == *test-dymola* || "$TEST_ARG" == *test-bestest* || "$TEST_ARG" == *spawn-portability* || "$TEST_ARG" == *test-templates-dymola* ]]; then
docker pull "$DOCKER_USERNAME"/${DYMOLA_VERSION};
cp Buildings/Resources/Scripts/travis/dymola/dymola $HOME/bin/;
fi;
- if [[ "$TEST_ARG" == *test-optimica* || \
"$TEST_ARG" == *test-templates-optimica* ]]; then
- if [[ "$TEST_ARG" == *test-optimica* || "$TEST_ARG" == *test-templates-optimica* ]]; then
docker pull "$DOCKER_USERNAME"/${OPTIMICA_VERSION};
cp Buildings/Resources/Scripts/travis/optimica/jm_ipython.sh $HOME/bin/jm_ipython.sh;
fi;
Expand Down Expand Up @@ -163,16 +159,13 @@ install:
- pip3 install --upgrade pip wheel
- pip3 install --only-binary=numpy,scipy,matplotlib numpy==1.21.4 scipy==1.7.3 matplotlib==3.5.1
- pip3 install git+https://github.com/lbl-srg/${BUILDINGSPY_VERSION}
- if [[ "$TEST_ARG" == *test-energyplus* || \
"$TEST_ARG" == *test-templates* ]] # For pandas dependency.
- if [[ "$TEST_ARG" == *test-energyplus* || "$TEST_ARG" == *test-templates* ]]
then
export ENERGYPLUS_9_6_0=${ENERGYPLUS_9_6_0};
export ENERGYPLUS_23_1_0=${ENERGYPLUS_23_1_0};
pip3 install pandas==1.3.5;
fi;
- if [[ "$TEST_ARG" == *EnergyPlus_9_6_0* ]] || \
"$TEST_ARG" == *Buildings.Experimental.DHC.{EnergyTransferStations,Loads,Networks,Plants}* || \
"$TEST_ARG" == *spawn* ]]; then
- if [[ "$TEST_ARG" == *EnergyPlus_9_6_0* ]] || "$TEST_ARG" == *Buildings.Experimental.DHC.{EnergyTransferStations,Loads,Networks,Plants}* || "$TEST_ARG" == *spawn* ]]; then
echo "Installing Spawn binaries";
Buildings/Resources/src/ThermalZones/install.py --binaries-for-os-only;
fi;
Expand Down

0 comments on commit 94a8a0e

Please sign in to comment.