1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- sudo: required
- language: python
- cache:
- directories:
- - $HOME/.cache/pip
- matrix:
- include:
- - python: 3.4
- os: linux
- dist: trusty
- env: TOXENV=py34
- - 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
- - language: generic
- os: osx
- osx_image: xcode8.3
- env: TOXENV=py34
- - language: generic
- os: osx
- osx_image: xcode8.3
- env: TOXENV=py35
- - 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
|