2013-07-03 20:46:46 +00:00
|
|
|
language: python
|
2015-08-07 13:17:07 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
matrix:
|
2020-02-22 20:30:41 +00:00
|
|
|
fast_finish: true
|
2015-08-07 13:17:07 +00:00
|
|
|
include:
|
2020-03-06 15:32:27 +00:00
|
|
|
- python: "3.6"
|
2016-01-30 21:03:09 +00:00
|
|
|
os: linux
|
2020-10-10 21:12:47 +00:00
|
|
|
dist: bionic
|
|
|
|
env: TOXENV=py36-fuse2
|
2020-03-06 15:32:27 +00:00
|
|
|
- python: "3.7"
|
2018-08-09 07:17:57 +00:00
|
|
|
os: linux
|
2020-10-10 21:12:47 +00:00
|
|
|
dist: bionic
|
|
|
|
env: TOXENV=py37-fuse2
|
2020-10-04 13:38:05 +00:00
|
|
|
- python: "3.8"
|
2019-07-29 15:31:47 +00:00
|
|
|
os: linux
|
2020-10-10 21:12:47 +00:00
|
|
|
dist: focal
|
|
|
|
env: TOXENV=py38-fuse3
|
2020-11-02 22:26:11 +00:00
|
|
|
- python: "3.9"
|
2020-10-04 13:38:05 +00:00
|
|
|
os: linux
|
|
|
|
dist: focal
|
2020-10-10 21:12:47 +00:00
|
|
|
env: TOXENV=py39-fuse3
|
|
|
|
- python: "3.8"
|
2018-12-10 23:53:43 +00:00
|
|
|
os: linux
|
2020-10-10 21:12:47 +00:00
|
|
|
dist: focal
|
2018-12-10 23:53:43 +00:00
|
|
|
env: TOXENV=flake8
|
2015-08-07 13:17:07 +00:00
|
|
|
|
2020-03-06 15:32:27 +00:00
|
|
|
before_install: # Abort installation and don't run tests for pull requests if commit only changed the docs
|
2017-06-18 14:48:26 +00:00
|
|
|
- |
|
2017-08-24 14:24:44 +00:00
|
|
|
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
|
|
|
|
}
|
2017-06-18 14:48:26 +00:00
|
|
|
}
|
|
|
|
|
2020-03-06 15:32:27 +00:00
|
|
|
install: ./.travis/install.sh
|
2015-08-07 13:17:07 +00:00
|
|
|
|
2020-03-06 15:32:27 +00:00
|
|
|
script: ./.travis/run.sh
|
2015-08-07 13:17:07 +00:00
|
|
|
|
2020-03-06 15:32:27 +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
|