1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 16:55:36 +00:00
borg/.travis.yml
Thomas Waldmann 75050f4ba0 travis has fixed their py 3.5
lzma stuff used to be broken, that's why we had 3.5.2.
2017-07-29 21:13:47 +02:00

59 lines
1.2 KiB
YAML

sudo: required
language: python
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- python: 3.5
os: linux
dist: trusty
env: TOXENV=py35
- python: 3.6
os: linux
dist: trusty
env: TOXENV=py36
- python: 3.5
os: linux
dist: trusty
env: TOXENV=flake8
- python: "3.6-dev"
os: linux
dist: trusty
env: TOXENV=py36
- language: generic
os: osx
osx_image: xcode6.4
env: TOXENV=py35
- language: generic
os: osx
osx_image: xcode6.4
env: TOXENV=py36
before_install:
- |
echo Checking whether $TRAVIS_COMMIT_RANGE changed only docs
git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(AUTHORS|README\.rst|^(docs)/)' || {
echo "Only docs were updated, stopping build process."
exit
}
install:
- git fetch --unshallow --tags
- ./.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