Skip to content

Commit 60a8b46

Browse files
committed
try different command
1 parent 543418a commit 60a8b46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,10 @@ jobs:
242242
- run:
243243
name: Check that numpy is not installed
244244
command: |
245-
pip list | grep numpy > /dev/null 2>&1 && { exit 1 } || { exit 0 }
245+
if pip list | grep numpy > /dev/null 2>&1
246+
then exit 1
247+
else exit 0
248+
fi
246249
- test_optional:
247250
py: "312_no_numpy"
248251

0 commit comments

Comments
 (0)