tahoe-lafs/.travis.yml

41 lines
1.3 KiB
YAML
Raw Normal View History

2016-05-23 14:09:50 +00:00
sudo: true
os:
- "linux"
- "osx"
cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
python:
- "2.7"
2015-07-29 02:21:31 +00:00
- "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:
2016-05-23 14:09:50 +00:00
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then echo installing on osx...; fi
- 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
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install coveralls tox; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install coveralls tox; fi
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
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}"
2015-07-29 02:21:31 +00:00
matrix:
allow_failures:
- python: "pypy"
fast_finish: true