Skip to content

Commit 82e16cc

Browse files
committed
fixup
1 parent 01f671c commit 82e16cc

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.circleci/unittest/linux/scripts/install.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ set -e
1010
eval "$(./conda/bin/conda shell.bash hook)"
1111
conda activate ./env
1212

13-
case "$(uname -s)" in
14-
Darwin*) os=MacOSX;;
15-
*) os=Linux
16-
esac
17-
1813
if [ -z "${CUDA_VERSION:-}" ] ; then
1914
case "$(uname -s)" in
2015
Darwin*) cudatoolkit="";;
@@ -28,10 +23,7 @@ printf "Installing PyTorch with %s\n" "${cudatoolkit}"
2823
conda install -y -c "pytorch-${UPLOAD_CHANNEL}" pytorch ${cudatoolkit}
2924

3025
printf "* Installing dependencies for test\n"
31-
conda install -y -c conda-forge --force-reinstall flake8 pytest pytest-cov codecov librosa>=0.8.0 scipy parameterized
32-
if [ "${os}" == Linux ] ; then
33-
pip install clang-format
34-
fi
26+
conda install -y -c conda-forge pytest pytest-cov codecov 'librosa>=0.8.0' scipy parameterized
3527
pip install kaldi-io
3628

3729
printf "* Building codecs\n"

.circleci/unittest/linux/scripts/run_style_checks.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -u
55
eval "$(./conda/bin/conda shell.bash hook)"
66
conda activate ./env
77

8+
pip install clang-format flake8
9+
810
# We want to run all the style checks even if one of them fail.
911

1012
exit_status=0

0 commit comments

Comments
 (0)