1aba5f4cfSVladimir Kotal#!/bin/bash 2aba5f4cfSVladimir Kotal 3aba5f4cfSVladimir Kotalif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 4aba5f4cfSVladimir Kotal sudo apt-get update -qq 5df8ae9f1SVladimir Kotal if [[ $? != 0 ]]; then 6df8ae9f1SVladimir Kotal echo "cannot update" 7df8ae9f1SVladimir Kotal exit 1 8df8ae9f1SVladimir Kotal fi 9*b4571310SVladimir Kotal 10*b4571310SVladimir Kotal sudo apt-get install -qq cvs git mercurial cssc bzr subversion monotone rcs rcs-blame python3 python3.4-venv python3-pip nodejs 11df8ae9f1SVladimir Kotal if [[ $? != 0 ]]; then 12df8ae9f1SVladimir Kotal echo "cannot install extra packages" 13df8ae9f1SVladimir Kotal exit 1 14df8ae9f1SVladimir Kotal fi 15*b4571310SVladimir Kotal 168182cfb4SVladimir Kotal sudo ./dev/install-bitkeeper.sh 17*b4571310SVladimir Kotal sudo ./dev/install-python-packages 18aba5f4cfSVladimir Kotalelif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 19aba5f4cfSVladimir Kotal brew update 20193b2204SVladimir Kotal brew install ctags cvs node 21aba5f4cfSVladimir Kotal brew upgrade python 22*b4571310SVladimir Kotal ./dev/install-python-packages.sh 23aba5f4cfSVladimir Kotalfi 242a63f72dSVladimir Kotal 252a63f72dSVladimir Kotalsudo ./dev/install-universal_ctags.sh 26193b2204SVladimir Kotal 27193b2204SVladimir Kotal# for API blueprint verification 28193b2204SVladimir Kotalnpm install drafter 29