forked from osfclient/osfclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 2.6 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
54
55
56
language: python
notifications:
email: false
cache:
directories:
- $HOME/.cache/pip
env:
matrix:
- DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="true"
- DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false"
- DISTRIB="conda" PYTHON_VERSION="2.7" COVERAGE="false"
install: source build_tools/travis_install.sh
script:
- python --version
- if [ ${COVERAGE} == "true" ];
then py.test --cov=osfclient; else
py.test;
fi
after_success:
- if [ ${COVERAGE} == "true" ]; then
pip install codecov;
codecov;
fi
deploy:
- provider: pypi
user: betatim
# this line together with `setup.cfg` creates universal wheels as long as
# osfclient is a python only module (no compiled code)
distributions: sdist bdist_wheel
on:
tags: true
repo: dib-lab/osf-cli
condition: "$PYTHON_VERSION = 3.5"
password:
secure: IdQhl1tj2+qwDw0PpwlXfWdbvdK3blZbftWzjaXClSO9lDFiRMno/EX2u/Z6KVM4LTO87SrmBeah7SQWc5KMoSWjJ7nksQllmmMuFguS6PueWlkIjL0m2Aeu55+MPKmQQjcfjHYF7eFurPkvq7CS1mwdZSuVssBlvZP6O6TiHoE6KKAemPsgKFlbTNMFKj2/jo6Hnmw7l8RvSKTE4y47EOrhDmAk3HJmRIrZATposfqKr5k6g1WXkQhqFUPl+lHMRzue/mq9Eaf3Wtqe9lvZkWiv/FGay/VeUCIU1JDxh8o7Co4v45CSgEudKvo40osdwS+Sy7FtuydFM/uO9zTgrRh3ZkxfzeZSxfwHtqpEhGmaEOlEMRmbWIJSvmAhyx2nQSXehUzxee0mjWsbXdCCBE/8o7iBwmvIaISxnzME4EBHJJVqgnPMvylJbC9YzdGsS3tG2UBBO4ssyHcBiuFUzR5a5YkCdXol6Usi40tI044oAdndptpgRET71z1xJoTy+43S2gMiXIb3OW0XOH4I5/0iYgNT+2XtjrbUwbkK+gqmOK/vNOOM+6JG1kVm6D2SqocYN/zFhJvfeNCojrAF2QO7lja+WvjPR+I62psruegO9Sw8g2hw29wV4xKR5NRPez5exmxLvqF7/NLUZ5IGXoYG46mQ6xm0aO0DnTLBEn0=
# test pypi
- provider: pypi
# this line together with `setup.cfg` creates universal wheels as long as
# osfclient is a python only module (no compiled code)
distributions: sdist bdist_wheel
server: https://testpypi.python.org/pypi
user: "jackrabbit"
password:
secure: U6hl13NL7WtH49npp3tmw3dLEKHrw3PZamTJ6oa1N79PPLugA38ZMG0Alu4JGQgyMFRad+XlVlxD0uq6Y6P3xktfUIw5fcKDCvrCjfOZnR3fT8wnbtxsyjXWfnhXCqTL9nzZ5AJrEHFD+g1lsTzTPko2fSU3k/n5un26dxnvhotLATBtwAnlc4vLVGQ5kTaiUi5m30E3hESudODMbipXm2S7FZ8RjvvnvjNJ5TxZVK6EQHlqdY+VAv22bf765Ti5TTatvIoaee6gbojDCXM28ve4G8h7RB1SiJWSaxfQqcVC3iJGe03nT1YwYbsVYUAsJmVwj0Pf08PwXC7g/1lh0cjnf2WXD9XbqPmFmpmot7Jr3iWzZhKBaBmmlQC57nOXIzf0EE+7ULZAjkH+Fu9vAIuzF8/CjCEdQHobPt5h3V4ZwhcTvoCE5I3yxgbs9dSiRAYzWQywRfVt7jxhOMN+cchdPELA4oxWRD9u0u+mPvJwnKx0ui1/Ki8AWM6Hq6LZCdkTZktVrvE5+ovjegxLMTWEvrzv+wrUpzYIuQ05wjBTCuZCSwBRxAk+0ck58B430EgCTSdD9w0PYc4T+0sli9H85vb4zZQkdv00K1bJZMhAao4orAKthCENBiFP8H0g7IdztSmXd7lVwpAHcqtpOEBRhcayD4KqlPO1TCcOxUE=
on:
branch: master
tags: false
condition: "$PYTHON_VERSION = 3.5"