Skip to content

Commit

Permalink
[ci] fix flaky Azure Pipelines jobs (#4095)
Browse files Browse the repository at this point in the history
* Update test.sh

* Update setup.sh

* Update .vsts-ci.yml

* Update test.sh

* Update setup.sh

* Update .vsts-ci.yml

* Update setup.sh

* Update setup.sh
  • Loading branch information
StrikerRUS authored Mar 23, 2021
1 parent 6ac2ffe commit 2247dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ else # Linux
libicu66 \
libssl1.1 \
libunwind8 \
libxau-dev \
libxrender1 \
locales \
netcat \
unzip \
Expand Down Expand Up @@ -81,6 +83,8 @@ else # Linux
apt-get update
apt-get install --no-install-recommends -y \
curl \
libxau-dev \
libxrender1 \
lsb-release \
software-properties-common
if [[ $COMPILER == "clang" ]]; then
Expand Down
3 changes: 1 addition & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ conda install -q -y -n $CONDA_ENV cloudpickle dask distributed joblib matplotlib
conda install -q -y \
-n $CONDA_ENV \
-c conda-forge \
python-graphviz \
xorg-libxau
python-graphviz

if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "clang" ]]; then
# fix "OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized." (OpenMP library conflict due to conda's MKL)
Expand Down

0 comments on commit 2247dc6

Please sign in to comment.