2015-08-07 13:17:07 +00:00
|
|
|
sudo: required
|
|
|
|
|
2013-07-03 20:46:46 +00:00
|
|
|
language: python
|
2015-08-07 13:17:07 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
2016-05-21 17:29:04 +00:00
|
|
|
# note: use py 3.5.2, it has lzma support. 3.5(.0) on travis.org/trusty does not.
|
2015-08-07 13:17:07 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
2016-05-21 17:29:04 +00:00
|
|
|
dist: trusty
|
2015-08-07 13:17:07 +00:00
|
|
|
env: TOXENV=py34
|
2016-05-21 17:29:04 +00:00
|
|
|
- python: 3.5.2
|
2015-10-27 22:06:32 +00:00
|
|
|
os: linux
|
2016-05-21 17:29:04 +00:00
|
|
|
dist: trusty
|
2015-10-27 22:06:32 +00:00
|
|
|
env: TOXENV=py35
|
2017-01-03 23:57:35 +00:00
|
|
|
- python: 3.6
|
2016-05-21 17:24:18 +00:00
|
|
|
os: linux
|
2016-05-21 17:29:04 +00:00
|
|
|
dist: trusty
|
2016-05-21 17:24:18 +00:00
|
|
|
env: TOXENV=py36
|
2016-05-21 17:29:04 +00:00
|
|
|
- python: 3.4
|
2016-01-30 21:03:09 +00:00
|
|
|
os: linux
|
2016-05-21 17:29:04 +00:00
|
|
|
dist: trusty
|
2016-01-30 21:03:09 +00:00
|
|
|
env: TOXENV=flake8
|
2017-03-07 04:07:51 +00:00
|
|
|
- python: "3.6-dev"
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py36
|
2015-08-07 13:17:07 +00:00
|
|
|
- language: generic
|
|
|
|
os: osx
|
2015-08-07 23:55:46 +00:00
|
|
|
osx_image: xcode6.4
|
2015-08-07 13:17:07 +00:00
|
|
|
env: TOXENV=py34
|
2015-10-27 22:06:32 +00:00
|
|
|
- language: generic
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode6.4
|
|
|
|
env: TOXENV=py35
|
2017-01-03 23:57:35 +00:00
|
|
|
- language: generic
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode6.4
|
|
|
|
env: TOXENV=py36
|
2015-08-07 13:17:07 +00:00
|
|
|
|
2017-06-18 14:48:26 +00:00
|
|
|
before_install:
|
|
|
|
- |
|
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
|
|
|
}
|
|
|
|
|
2013-07-03 20:46:46 +00:00
|
|
|
install:
|
2017-04-01 16:25:45 +00:00
|
|
|
- git fetch --unshallow --tags
|
2015-08-07 13:17:07 +00: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
|