2013-07-03 22:46:46 +02:00
|
|
|
language: python
|
2015-08-07 15:17:07 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
matrix:
|
2020-02-22 21:30:41 +01:00
|
|
|
fast_finish: true
|
2015-08-07 15:17:07 +02:00
|
|
|
include:
|
2018-12-11 00:53:43 +01:00
|
|
|
- python: 3.5
|
2016-05-21 19:24:18 +02:00
|
|
|
os: linux
|
2016-05-21 19:29:04 +02:00
|
|
|
dist: trusty
|
2018-12-11 00:53:43 +01:00
|
|
|
env: TOXENV=py35
|
2018-06-30 21:02:19 +02:00
|
|
|
- python: 3.6
|
2016-01-30 22:03:09 +01:00
|
|
|
os: linux
|
2016-05-21 19:29:04 +02:00
|
|
|
dist: trusty
|
2018-08-09 09:17:57 +02:00
|
|
|
env: TOXENV=py36
|
|
|
|
- python: 3.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py37
|
2019-11-26 18:53:09 +01:00
|
|
|
- python: 3.8
|
2017-03-07 05:07:51 +01:00
|
|
|
os: linux
|
2019-11-26 18:53:09 +01:00
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py38
|
2018-08-09 09:17:57 +02:00
|
|
|
- python: "3.7-dev"
|
2018-07-30 01:06:15 +01:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py37
|
2019-07-29 17:31:47 +02:00
|
|
|
- python: "3.8-dev"
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py38
|
2018-12-11 00:53:43 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=flake8
|
|
|
|
- language: generic
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode8.3
|
|
|
|
env: TOXENV=py35
|
2017-01-04 00:57:35 +01:00
|
|
|
- language: generic
|
|
|
|
os: osx
|
2018-05-07 17:51:39 +02:00
|
|
|
osx_image: xcode8.3
|
2019-11-26 18:53:09 +01:00
|
|
|
env: TOXENV=py37
|
2020-02-22 21:30:41 +01:00
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
2015-08-07 15:17:07 +02:00
|
|
|
|
2017-06-18 20:18:26 +05:30
|
|
|
before_install:
|
|
|
|
- |
|
2017-08-24 16:24:44 +02: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 20:18:26 +05:30
|
|
|
}
|
|
|
|
|
2013-07-03 22:46:46 +02:00
|
|
|
install:
|
2017-04-01 18:25:45 +02:00
|
|
|
- git fetch --unshallow --tags
|
2015-08-07 15:17:07 +02:00
|
|
|
- ./.travis/install.sh
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./.travis/run.sh
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- ./.travis/upload_coverage.sh
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#borgbackup"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|