2016-12-26 03:05:11 +00:00
|
|
|
sudo: false
|
2017-07-28 06:21:19 +01:00
|
|
|
dist: precise
|
2016-10-16 05:13:25 +01:00
|
|
|
language: python
|
2017-05-17 05:21:56 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: TOX_ENV=py35
|
|
|
|
python: 3.5
|
|
|
|
- env: TOX_ENV=py35-no-ext
|
|
|
|
python: 3.5
|
|
|
|
- env: TOX_ENV=py36
|
|
|
|
python: 3.6
|
|
|
|
- env: TOX_ENV=py36-no-ext
|
|
|
|
python: 3.6
|
|
|
|
- env: TOX_ENV=flake8
|
|
|
|
python: 3.6
|
|
|
|
- env: TOX_ENV=check
|
|
|
|
python: 3.6
|
2018-01-02 19:24:32 +00:00
|
|
|
before_install:
|
|
|
|
- mkdir -p $HOME/bin
|
|
|
|
- curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
|
|
|
|
- testspace config url $TS_ORG.testspace.com
|
2017-05-17 05:21:56 +01:00
|
|
|
install: pip install -U tox
|
2018-01-02 19:24:32 +00:00
|
|
|
script:
|
|
|
|
- if [[ "${TOX_ENV}" =~ ^py ]] ; then
|
|
|
|
tox -e $TOX_ENV -- --junit-xml=testresults.xml;
|
|
|
|
else
|
|
|
|
tox -e $TOX_ENV;
|
|
|
|
fi
|
|
|
|
after_script:
|
|
|
|
- if [[ "${TOX_ENV}" =~ ^py ]] ; then
|
|
|
|
testspace [${TOX_ENV}]testresults.xml{tests};
|
|
|
|
fi
|
2016-10-16 09:14:09 +01:00
|
|
|
deploy:
|
|
|
|
provider: pypi
|
|
|
|
user: channelcat
|
|
|
|
password:
|
2017-01-30 10:22:12 +00:00
|
|
|
secure: OgADRQH3+dTL5swGzXkeRJDNbLpFzwqYnXB4iLD0Npvzj9QnKyQVvkbaeq6VmV9dpEFb5ULaAKYQq19CrXYDm28yanUSn6jdJ4SukaHusi7xt07U6H7pmoX/uZ2WZYqCSLM8cSp8TXY/3oV3rY5Jfj/AibE5XTbim5/lrhsvW6NR+ALzxc0URRPAHDZEPpojTCjSTjpY0aDsaKWg4mXVRMFfY3O68j6KaIoukIZLuoHfePLKrbZxaPG5VxNhMHEaICdxVxE/dO+7pQmQxXuIsEOHK1QiVJ9YrSGcNqgEqhN36kYP8dqMeVB07sv8Xa6o/Uax2/wXS2HEJvuwP1YD6WkoZuo9ZB85bcMdg7BV9jJDbVFVPJwc75BnTLHrMa3Q1KrRlKRDBUXBUsQivPuWhFNwUgvEayq2qSI3aRQR4Z0O+DfboEhXYojSoD64/EWBTZ7vhgbvOTGEdukUQSYrKj9P8jc1s8exomTsAiqdFxTUpzfiammUSL+M93lP4urtahl1jjXFX7gd3DzdEEb0NsGkx5lm/qdsty8/TeAvKUmC+RVU6T856W6MqN0P+yGbpWUARcSE7fwztC3SPxwAuxvIN3BHmRhOUHoORPNG2VpfbnscIzBKJR4v0JKzbpi0IDa66K+tCGsCEvQuL4cxVOtoUySPWNSUAyUWWUrGM2k=
|
2016-10-16 09:14:09 +01:00
|
|
|
on:
|
|
|
|
tags: true
|
2017-05-02 18:47:55 +01:00
|
|
|
distributions: "sdist bdist_wheel"
|