tahoe-lafs/.travis.yml

44 lines
1.4 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; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install python; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export PATH=/usr/local/bin:$PATH; fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install coverage coveralls tox; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install coverage coveralls tox; fi
before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install -e .; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install -e .; fi
script:
- tox -e coverage
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