-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (42 loc) · 1.8 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8 -*-
notifications:
email: false
language: python
matrix:
fast_finish: true
cache:
- pip
env:
- REQUIREMENTS=lowest
- REQUIREMENTS=release DEPLOY=true
# - REQUIREMENTS=devel
python:
- "2.7"
- "3.5"
- "3.6"
before_install:
- "travis_retry pip install --upgrade pip setuptools py"
- "travis_retry pip install twine wheel coveralls requirements-builder"
- "requirements-builder -e all --level=min setup.py > .travis-lowest-requirements.txt"
- "requirements-builder -e all --level=pypi setup.py > .travis-release-requirements.txt"
# - "requirements-builder -e all --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt"
install:
- "travis_retry pip install -r .travis-${REQUIREMENTS}-requirements.txt"
- "travis_retry pip install -e .[all]"
script:
- check-manifest
- python setup.py test
- sphinx-build -qnNW docs docs/_build/html
after_success:
- coveralls
deploy:
- provider: pypi
user: jirikuncar
password:
secure: zsBlmnriIaZBrx1pKqf92tqBBpI9g+Zf/dIOcqeqpSrOPZTH1Mc2TONvjBem8lRiwd+lRQVNa2CYGsBSjxuEG9Soi6kF+mG7fpjYxAcDsFTFXvxB0W8Iw06qwfp8CLrREKR5H2KRg+xWWvWtlHd9G+7gqwkvrc5vP+tGqgCA+zPQe5GLRXqxjT9Q69WNIPkoiLXGYsnuUS9zfT4MDsQCp3DlnBhxpY7SO+M7WYQ9IYQiWlvwsTCjc1p5vFS78p4KxCWgOGLZLHie4zngsYvvSRP12faPwCCBO3ykzlPZdsWy4JbcCyMAG+TGgY5OIBt7Gul90QBdBzFvkmbEIMpgitZfs4HX3p4THwWRCBImVj/9WIgGrPK3/jjUts1UU5uj0QoLK0BaAkkuRvl+YNSa/DzGJd7RWg2zCFJlACzrUAsKZRBqAJ1g61R4J/RSeUSZlW5CMzKiXk1bLL5lNkFbqcoYAdubICGbUktl//X58Iox/Smq1e5KoCWmtiHZbdwz7nbo9boBEvjcM4LP5H3PeSx6/w7cS5iWygC2+2CYCOOF4T+49Nza9vhNlcxOSbwcn22VhwLwpnZokHrpMQHLShk7HYJc6GmumpQfBb2engUR5YiBMvPiZRTbv9PUBCbv2/G5w0kAAsNFzTVc4ffJNmko6Fs3Sof7/jw9JJO10bk=
distributions: "sdist bdist_wheel"
on:
tags: true
python: "3.6"
repo: jirikuncar/git-json-tree
condition: $DEPLOY = true