Skip to content

Commit

Permalink
Merge branch 'travis_install_buildbot_www' of git://github.com/vrutsk…
Browse files Browse the repository at this point in the history
…y/buildbot into nine
  • Loading branch information
djmitche committed Oct 19, 2013
2 parents 6d8183a + 1fc19b8 commit db32066
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Expand Up @@ -45,15 +45,40 @@ matrix:
- python: "2.7"
env: TWISTED=12.0.0 SQLALCHEMY=latest SQLALCHEMY_MIGRATE=0.7.2

before_install:
# Disable SSH host key checking. Otherwize ssh will ask confirmation from
# command prompt.
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config

# Install fresh Node.js from PPA
- sudo add-apt-repository -y ppa:chris-lea/node.js
- sudo apt-get update -qq
- sudo apt-get install -qq nodejs

# Dependencies installation commands
install:
# Fetch objects and tags from upstream git repository.
# Required for proper work of `git describe`.
- git describe || true
- git remote add upstream git://github.com/buildbot/buildbot.git
- git fetch upstream --tags
- git fetch origin --tags
- |
DEPTH=300;
while [ "$(git describe 2> /dev/null)" == "" ]; do
DEPTH=$(($DEPTH+200));
git fetch origin --depth=$DEPTH --quiet;
done
- git describe

# zope.interface dropped Python 2.5 support in 4.0.0
- "[ $TRAVIS_PYTHON_VERSION != '2.5' ] || pip install 'zope.interface<4.0.0'"
- "[ $TWISTED = latest ] || pip install Twisted==$TWISTED"
- "[ $SQLALCHEMY = latest ] || pip install sqlalchemy==$SQLALCHEMY"
- "[ $SQLALCHEMY_MIGRATE = latest ] || pip install sqlalchemy-migrate==$SQLALCHEMY_MIGRATE"
- pushd master; python setup.py develop; popd
- pushd slave; python setup.py develop; popd
- pushd www; python setup.py develop; popd
# mock is preinstalled on Travis
# txgithub requires Twisted >= 12.3.0, which doesn't work on Python 2.5.
- "[ $TRAVIS_PYTHON_VERSION = '2.5' ] || pip install txgithub"
Expand Down

0 comments on commit db32066

Please sign in to comment.