Skip to content

Commit df8ae9f

Browse files
author
Vladimir Kotal
committed
add error checking
1 parent 7e7d9b8 commit df8ae9f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dev/before_install

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
44
sudo apt-get update -qq
5+
if [[ $? != 0 ]]; then
6+
echo "cannot update"
7+
exit 1
8+
fi
59
sudo apt-get install -qq cvs git mercurial cssc bzr subversion monotone rcs rcs-blame python3 python3.4-venv python3-pip pep8 nodejs
10+
if [[ $? != 0 ]]; then
11+
echo "cannot install extra packages"
12+
exit 1
13+
fi
614
sudo ./dev/install-bitkeeper.sh
715
sudo pip3 install --upgrade pip
816
sudo pip3 install flake8

0 commit comments

Comments
 (0)