1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00
borg/.travis.yml

71 lines
2.1 KiB
YAML
Raw Normal View History

2013-07-03 20:46:46 +00:00
language: python
2015-08-07 13:17:07 +00:00
cache:
directories:
- $HOME/.cache/pip
matrix:
fast_finish: true
2015-08-07 13:17:07 +00:00
include:
- python: "3.6"
2016-01-30 21:03:09 +00:00
os: linux
dist: bionic
env: TOXENV=py36-fuse2
- python: "3.7"
os: linux
dist: bionic
env: TOXENV=py37-fuse2
- python: "3.8"
os: linux
dist: focal
env: TOXENV=py38-fuse2
2019-07-29 15:31:47 +00:00
- python: "3.8-dev"
os: linux
dist: focal
env: TOXENV=py38-fuse3
- python: "3.9-dev"
os: linux
dist: focal
env: TOXENV=py39-fuse2
- python: "3.9-dev"
os: linux
dist: focal
env: TOXENV=py39-fuse3
- python: "3.8"
os: linux
dist: focal
env: TOXENV=flake8
- language: generic
os: osx
osx_image: xcode8.3 # This is the latest working xcode image with osxfuse compatibility; later images come with an OS X version which doesn't allow kernel extensions
env: TOXENV=py36-fuse2
2017-01-03 23:57:35 +00:00
- language: generic
os: osx
osx_image: xcode11.3
env: TOXENV=py37 # No FUSE testing, because recent versions of macOS don't allow kernel extensions of osxfuse.
allow_failures:
- os: osx # OS X builds often take too long and time out, even though tests don't actually fail
2015-08-07 13:17:07 +00:00
before_install: # Abort installation and don't run tests for pull requests if commit only changed the docs
- |
test $TRAVIS_EVENT_TYPE != "pull_request" || {
echo Checking whether $TRAVIS_COMMIT_RANGE changed only docs
git diff --name-only $TRAVIS_COMMIT_RANGE | grep --quiet --invert-match --extended-regexp '(AUTHORS|README\.rst|^(docs)/)' || {
echo "Only docs were updated, stopping build process."
exit
}
}
install: ./.travis/install.sh
2015-08-07 13:17:07 +00:00
script: ./.travis/run.sh
2015-08-07 13:17:07 +00:00
after_success: ./.travis/upload_coverage.sh
2015-08-07 13:17:07 +00:00
notifications:
irc:
channels:
- "irc.freenode.org#borgbackup"
use_notice: true
skip_join: true