Skip to content

Commit 519a845

Browse files
author
Vladimir Kotal
committed
fix path, add error checking
1 parent 7ec9ac3 commit 519a845

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

dev/before_install

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,30 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
1313
exit 1
1414
fi
1515

16+
# Bitkeeper install failure is not critical, so exit code is not checked.
1617
sudo ./dev/install-bitkeeper.sh
17-
sudo ./dev/install-python-packages
18+
19+
sudo ./dev/install-python-packages.sh
20+
if [[ $? != 0 ]]; then
21+
echo "cannot install Python packages"
22+
exit 1
23+
fi
1824
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
1925
brew update
26+
2027
brew install ctags cvs node
28+
if [[ $? != 0 ]]; then
29+
echo "cannot install extra packages"
30+
exit 1
31+
fi
32+
2133
brew upgrade python
34+
2235
./dev/install-python-packages.sh
36+
if [[ $? != 0 ]]; then
37+
echo "cannot install Python packages"
38+
exit 1
39+
fi
2340
fi
2441

2542
sudo ./dev/install-universal_ctags.sh

0 commit comments

Comments
 (0)