1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00
borg/.travis.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

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
matrix:
include:
2017-01-03 23:57:35 +00:00
- python: 3.6
2016-05-21 17:24:18 +00:00
os: linux
dist: trusty
2016-05-21 17:24:18 +00:00
env: TOXENV=py36
- python: 3.6
2016-01-30 21:03:09 +00:00
os: linux
dist: trusty
2016-01-30 21:03:09 +00:00
env: TOXENV=flake8
- python: "3.6-dev"
os: linux
dist: trusty
env: TOXENV=py36
2017-01-03 23:57:35 +00:00
- language: generic
os: osx
osx_image: xcode8.3
2017-01-03 23:57:35 +00:00
env: TOXENV=py36
2015-08-07 13:17:07 +00:00
before_install:
- |
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
}
}
2013-07-03 20:46:46 +00:00
install:
- 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