44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
sudo: false
|
|
dist: precise
|
|
language: python
|
|
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
|
|
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
|
|
install: pip install -U tox
|
|
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
|
|
deploy:
|
|
provider: pypi
|
|
user: channelcat
|
|
password:
|
|
secure: OgADRQH3+dTL5swGzXkeRJDNbLpFzwqYnXB4iLD0Npvzj9QnKyQVvkbaeq6VmV9dpEFb5ULaAKYQq19CrXYDm28yanUSn6jdJ4SukaHusi7xt07U6H7pmoX/uZ2WZYqCSLM8cSp8TXY/3oV3rY5Jfj/AibE5XTbim5/lrhsvW6NR+ALzxc0URRPAHDZEPpojTCjSTjpY0aDsaKWg4mXVRMFfY3O68j6KaIoukIZLuoHfePLKrbZxaPG5VxNhMHEaICdxVxE/dO+7pQmQxXuIsEOHK1QiVJ9YrSGcNqgEqhN36kYP8dqMeVB07sv8Xa6o/Uax2/wXS2HEJvuwP1YD6WkoZuo9ZB85bcMdg7BV9jJDbVFVPJwc75BnTLHrMa3Q1KrRlKRDBUXBUsQivPuWhFNwUgvEayq2qSI3aRQR4Z0O+DfboEhXYojSoD64/EWBTZ7vhgbvOTGEdukUQSYrKj9P8jc1s8exomTsAiqdFxTUpzfiammUSL+M93lP4urtahl1jjXFX7gd3DzdEEb0NsGkx5lm/qdsty8/TeAvKUmC+RVU6T856W6MqN0P+yGbpWUARcSE7fwztC3SPxwAuxvIN3BHmRhOUHoORPNG2VpfbnscIzBKJR4v0JKzbpi0IDa66K+tCGsCEvQuL4cxVOtoUySPWNSUAyUWWUrGM2k=
|
|
on:
|
|
tags: true
|
|
distributions: "sdist bdist_wheel"
|