-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
53 lines (49 loc) · 1.98 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
language: python
cache: pip
sudo: false
python: 3.5
env:
global:
- CC_TEST_REPORTER_ID=89a28368656c0e9793f9ebde106b7786edb8ed0e9eb5b027789a0a4ed6b4c9be
jobs:
include:
- python: 3.5
- python: 3.6
- python: nightly
- python: 3.7-dev
- stage: test
- stage: deploy
if: tag IS present
install: skip
script: skip
python: 3.6
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: 6uhrmittag
password:
secure: "cPc0b7K1UKHR5BhvEuhyu3MDNKOamTkgjf+WLdSQIfJ3aSJuAR360gtQab4pW4fbKoP+GV+cxFD7kd4Dq+OniztoKG+7gmLnIVBvvX81Bh5Un2wZ0WzodEOoXqjK6lb2K5B3qNe1pynsliYOyoCWhFL+3yAVbzIHds
Wil+Ev/w5PGG/c4aoTh1vJK5tiQyeSrpLKpo1LDIZGVyx0eZVzIu1vQnzDmzyFd+u2oB/8KeOS12U6lZl3TsWqabz4OVAiy/K8h0f7HQrz1JUfNijZh6Xye5tw4D6uFIYBvFooP45UM0NfaUCa0H78ENDHPiNe4KYo+Er1MuA8K7c
7sm0iDIXtftuPWSgna2BxjtRCo66O0Zl2vYtYN2GUP6gWvuNsGV8P1etkKfH5yXp76lP5Axwzeq0D9dZghmJPt2eMoGY0qg/UWO3yfIRc/+WUqNmPpvcOFMWH187N/y16pvf6lFUraOWkEoWM6xb12eBFrWIroJjIBhbVto+WNtqS
33t+jqshcWGgEIk8U+ZPrbPM1fV8Gsb4JE586s+xQ2iEsNxmgpkWJyWDA3SmdX8sCjjO857t0Nj8Tro85OdfMvUBBbNBI0mNxyUMu/sWXAtSH2R9tDWmWRQDfsUaNHr0IVVf1WlD+0g3Fh7+NC/mRqP1YoqPtpDPULaOSo+dz+xCK
hw="
# #server: https://test.pypi.org/legacy/
on:
all_branches: true
tags: true
repo: 6uhrmittag/taskbutler
python: 3.6
install: pip install -U tox-travis
before_script:
- git clone https://github.com/sstephenson/bats.git /tmp/bats
- mkdir -p /tmp/local
- bash /tmp/bats/install.sh /tmp/local
- export PATH=$PATH:/tmp/local/bin
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- grep -c --invert-match exit taskbutler/taskbutler.py
- tox
after_script:
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT; fi