2015-09-22 19:10:15 +00:00
|
|
|
sudo: false
|
2013-08-31 20:35:19 +00:00
|
|
|
language: python
|
2016-03-16 01:41:59 +00:00
|
|
|
cache: pip
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.cache/pip/log/debug.log
|
2013-08-31 20:35:19 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-07-29 02:21:31 +00:00
|
|
|
- "pypy"
|
2013-08-31 20:35:19 +00:00
|
|
|
before_install:
|
|
|
|
- sh -c set
|
2014-11-27 16:37:25 +00:00
|
|
|
- git config --global user.email "travis-tahoe@tahoe-lafs.org"
|
|
|
|
- git config --global user.name "Travis Tahoe"
|
2015-09-22 19:10:15 +00:00
|
|
|
- git fetch --depth=1000
|
2014-09-01 19:57:22 +00:00
|
|
|
- python misc/build_helpers/show-tool-versions.py
|
2014-09-01 14:29:13 +00:00
|
|
|
install:
|
2016-04-12 19:15:42 +00:00
|
|
|
- pip install coveralls
|
2016-02-23 20:23:19 +00:00
|
|
|
before_script:
|
2016-04-12 19:15:42 +00:00
|
|
|
- pip install -e .[test]
|
2016-02-23 20:23:19 +00:00
|
|
|
script:
|
|
|
|
- coverage run --branch --source=src/allmydata `which tahoe` --version-and-path debug trial --rterrors --reporter=timing
|
2014-09-01 14:29:13 +00:00
|
|
|
after_success:
|
|
|
|
coveralls
|
2013-09-01 01:49:03 +00:00
|
|
|
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}"
|
2015-07-29 02:21:31 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- python: "pypy"
|
|
|
|
fast_finish: true
|