1aba5f4cfSVladimir Kotal#!/bin/bash 2aba5f4cfSVladimir Kotal 3aba5f4cfSVladimir Kotalif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 4aba5f4cfSVladimir Kotal sudo apt-get update -qq 5*df8ae9f1SVladimir Kotal if [[ $? != 0 ]]; then 6*df8ae9f1SVladimir Kotal echo "cannot update" 7*df8ae9f1SVladimir Kotal exit 1 8*df8ae9f1SVladimir Kotal fi 97e7d9b8fSVladimir Kotal sudo apt-get install -qq cvs git mercurial cssc bzr subversion monotone rcs rcs-blame python3 python3.4-venv python3-pip pep8 nodejs 10*df8ae9f1SVladimir Kotal if [[ $? != 0 ]]; then 11*df8ae9f1SVladimir Kotal echo "cannot install extra packages" 12*df8ae9f1SVladimir Kotal exit 1 13*df8ae9f1SVladimir Kotal fi 148182cfb4SVladimir Kotal sudo ./dev/install-bitkeeper.sh 15aba5f4cfSVladimir Kotal sudo pip3 install --upgrade pip 16aba5f4cfSVladimir Kotal sudo pip3 install flake8 17aba5f4cfSVladimir Kotalelif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 18aba5f4cfSVladimir Kotal brew update 19193b2204SVladimir Kotal brew install ctags cvs node 20aba5f4cfSVladimir Kotal brew upgrade python 217ac1f5d2SKryštof Tulinger pip3 install pep8 flake8 virtualenv 22aba5f4cfSVladimir Kotalfi 232a63f72dSVladimir Kotal 242a63f72dSVladimir Kotalsudo ./dev/install-universal_ctags.sh 25193b2204SVladimir Kotal 26193b2204SVladimir Kotal# for API blueprint verification 27193b2204SVladimir Kotalnpm install drafter 28