mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
55314f807e
if you do not have python 3.6.x, you can still use borg 1.1.x or 1.0.x. another option is to use the fat binary from github releases, which includes python 3.6 and all other stuff needed.
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
sudo: required
|
|
|
|
language: python
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.6
|
|
os: linux
|
|
dist: trusty
|
|
env: TOXENV=py36
|
|
- python: 3.6
|
|
os: linux
|
|
dist: trusty
|
|
env: TOXENV=flake8
|
|
- python: "3.6-dev"
|
|
os: linux
|
|
dist: trusty
|
|
env: TOXENV=py36
|
|
- language: generic
|
|
os: osx
|
|
osx_image: xcode8.3
|
|
env: TOXENV=py36
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
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
|