1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-22 15:57:15 +00:00
borg/.travis.yml
Ronny Pfannschmidt 132f0006d3 enhance travis setuptools_scm situation
* add setuptools_scm to the development requirements
* print the own version at install time
* unshallow the repo and fetch all tags
2017-04-01 18:25:45 +02:00

60 lines
1.2 KiB
YAML

sudo: required
language: python
cache:
directories:
- $HOME/.cache/pip
# note: use py 3.5.2, it has lzma support. 3.5(.0) on travis.org/trusty does not.
matrix:
include:
- python: 3.4
os: linux
dist: trusty
env: TOXENV=py34
- python: 3.5.2
os: linux
dist: trusty
env: TOXENV=py35
- python: 3.6
os: linux
dist: trusty
env: TOXENV=py36
- python: 3.4
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=py34
- language: generic
os: osx
osx_image: xcode6.4
env: TOXENV=py35
- language: generic
os: osx
osx_image: xcode6.4
env: TOXENV=py36
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