2016-05-23 14:09:50 +00:00
|
|
|
sudo: true
|
|
|
|
os:
|
|
|
|
- "linux"
|
|
|
|
- "osx"
|
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-05-23 14:09:50 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then echo installing on osx...; fi
|
2016-06-20 15:01:19 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update && brew install python; fi
|
2016-05-23 14:09:50 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export PATH=/usr/local/bin:$PATH; fi
|
2016-06-20 15:01:19 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install coveralls tox; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install coveralls tox; fi
|
2016-02-23 20:23:19 +00:00
|
|
|
script:
|
2016-05-23 14:31:44 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo tox -e coverage; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then tox -e coverage; fi
|
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
|