tahoe-lafs/.travis.yml
Brian Warner c8edddb31b travis: enable cache, should speed up builds a lot
This will allow travis builders to cache generated wheels between
builds, so all the dependencies don't have to get re-built every time.
2016-03-15 18:41:59 -07:00

36 lines
953 B
YAML

sudo: false
language: python
cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
python:
- "2.7"
- "pypy"
before_install:
- sh -c set
- git config --global user.email "travis-tahoe@tahoe-lafs.org"
- git config --global user.name "Travis Tahoe"
- git fetch --depth=1000
- python misc/build_helpers/show-tool-versions.py
install:
- pip install coverage coveralls
before_script:
- pip install -e .
script:
- coverage run --branch --source=src/allmydata `which tahoe` --version-and-path debug trial --rterrors --reporter=timing
after_success:
coveralls
notifications:
email: false
irc:
channels: "chat.freenode.net#tahoe-lafs"
on_success: always # for testing
on_failure: always
template:
- "%{repository}#%{build_number} [%{branch}: %{commit} by %{author}] %{message}"
- "Changes: %{compare_url} | Details: %{build_url}"
matrix:
allow_failures:
- python: "pypy"
fast_finish: true