#!/bin/bash if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq if [[ $? != 0 ]]; then echo "cannot update" exit 1 fi sudo apt-get install -qq cvs git mercurial cssc bzr subversion monotone rcs rcs-blame python3 python3.4-venv python3-pip pep8 nodejs if [[ $? != 0 ]]; then echo "cannot install extra packages" exit 1 fi sudo ./dev/install-bitkeeper.sh sudo pip3 install --upgrade pip sudo pip3 install flake8 elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update brew install ctags cvs node brew upgrade python pip3 install pep8 flake8 virtualenv fi sudo ./dev/install-universal_ctags.sh # for API blueprint verification npm install drafter