xref: /OpenGrok/dev/before_install (revision 7ac1f5d2038ccb5b35a1162bf48f414f938ab277)
1aba5f4cfSVladimir Kotal#!/bin/bash
2aba5f4cfSVladimir Kotal
3aba5f4cfSVladimir Kotalif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
4aba5f4cfSVladimir Kotal	sudo apt-get update -qq
5*7ac1f5d2SKryštof Tulinger	sudo apt-get install -qq cvs git mercurial cssc bzr subversion monotone rcs rcs-blame python3 python3-venv python3-pip pep8 nodejs;
68182cfb4SVladimir Kotal	sudo ./dev/install-bitkeeper.sh
7aba5f4cfSVladimir Kotal	sudo pip3 install --upgrade pip
8aba5f4cfSVladimir Kotal	sudo pip3 install flake8
9aba5f4cfSVladimir Kotalelif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
10aba5f4cfSVladimir Kotal	brew update
11193b2204SVladimir Kotal	brew install ctags cvs node
12aba5f4cfSVladimir Kotal	brew upgrade python
13*7ac1f5d2SKryštof Tulinger	pip3 install pep8 flake8 virtualenv
14aba5f4cfSVladimir Kotalfi
152a63f72dSVladimir Kotal
162a63f72dSVladimir Kotalsudo ./dev/install-universal_ctags.sh
17193b2204SVladimir Kotal
18193b2204SVladimir Kotal# for API blueprint verification
19193b2204SVladimir Kotalnpm install drafter
20