mirror of https://github.com/MagicStack/uvloop.git
100 lines
4.2 KiB
YAML
100 lines
4.2 KiB
YAML
language: generic
|
|
|
|
env:
|
|
global:
|
|
- PYMODULE=uvloop
|
|
- RELEASE_PYTHON_VERSIONS="3.5 3.6 3.7 3.8"
|
|
|
|
- S3_UPLOAD_USERNAME=oss-ci-bot
|
|
- S3_UPLOAD_BUCKET=magicstack-oss-releases
|
|
# S3_UPLOAD_ACCESSKEY:
|
|
- secure: "g3fR9aJe2+BvQt8xR2RHLJsrOhxxEmz2RHRDY1Sy5bFTMFA3CYtj8ylTxvFADotFWd8Q81xV7Q450hD6eOLlIP/twsibvhbzXmOybswzFJnLaOrciUQE2iCQ6AzmkPBut3BNpAtdXPlbmJoHntKSZWu6Dt/UvQ2w23hGlp9EW1JtOV3jE2m/FdCcfDYxa/tZPJ7cnQKuMXo5N4/Es2IPyIurTpqbgYo3K2UnX1nSNcAdBPzigC/H0zJpLerXeqhNWeXimhFH6QAMsk7JvVGMYWfxq2lVBKpM7v8JRd9wk1ux8VNJNWDjLUVcskgmF+KwmbPdn1xx3bwy+FZBuH4WCjSepNAdyUgOF6y9YgdZ1kpQcfhVUIQEgH/5nFOA81oABMlCJ+eHSt+jxJoo69g82lHyVxcfKm34mG380tOJK+R6ZDIi+2Qsvoi86TCxiju6ecCu3fx/0JEiT8cDwMo7KedhSN7d+NiZRJ5xB40FXk0zTf6WfDmgD7twjnCwhCXKU4U8eVi0pVMSUqjP3sPkFPa+licg7irjgt7dmpLJhqZb2JZt78HcrANiLyfoFWhOB7TYfPbP8Fv+g/rs8y/Q+oOBcJnFV2YkltB+sLFvv9jQlP1z6NBSvJZl0IUuC3vNt6b1aMuesXbPQntqXBkL1Vu7WQTmo4LmKwvdGze/0sY="
|
|
# S3_UPLOAD_SECRET:
|
|
- secure: "M0NfG4tJryVEe+6IXfAtrRe08PMd6VfyOj7NQPOEX4WqaSvWjROSA7WIVrawh64TR9hcjnQT2gflU9jA2r2z0/vUYyQ5M2gU3TXoS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SbDomKptr3aswU31l3KOlOBO2uCQuzFtJc4Act+gV7MTxgVBKmIbxZaSUpE8elBVcNUTIruMaCvieYfDk/GgX1619bE8k2SR/z/gQ1OB5fmb/daN8/cqAw1r9PWsIRlvOkhrONIACkjvoZDErMo9DyDI2AqLKGhk6/QUwwatD9NIZe7nnEeEsJsoI7o4T+gJPGta0owU4XaAB+JY0VZ6gsun3+hY8cAhnhNYF3TDtiSL73c70vf55+LYaM/E="
|
|
|
|
branches:
|
|
# Avoid building PR branches.
|
|
only:
|
|
- master
|
|
- ci
|
|
- releases
|
|
- /^v\d+(\.\d+)*(rc\d+)?$/
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
include:
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
# Travis macOS env does not support Python yet,
|
|
# so we have to set things up manually in install.sh.
|
|
env: BUILD=tests,wheels PYTHON_VERSION=3.5.5
|
|
branches: {only: [releases]}
|
|
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
env: BUILD=tests,wheels PYTHON_VERSION=3.6.5
|
|
branches: {only: [releases]}
|
|
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
env: BUILD=tests,wheels PYTHON_VERSION=3.7.0
|
|
branches: {only: [releases]}
|
|
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
env: BUILD=tests,wheels PYTHON_VERSION=3.8.0
|
|
branches: {only: [releases]}
|
|
|
|
- os: linux
|
|
dist: trusty
|
|
language: python
|
|
python: "3.5"
|
|
env: BUILD=tests
|
|
|
|
- os: linux
|
|
dist: trusty
|
|
language: python
|
|
python: "3.6"
|
|
env: BUILD=tests
|
|
|
|
- os: linux
|
|
dist: xenial
|
|
language: python
|
|
python: "3.7"
|
|
env: BUILD=tests
|
|
|
|
- os: linux
|
|
dist: xenial
|
|
language: python
|
|
python: "3.8"
|
|
env: BUILD=tests
|
|
|
|
- os: linux
|
|
dist: trusty
|
|
branches: {only: [releases]}
|
|
language: python
|
|
python: "3.5"
|
|
services: [docker]
|
|
env: BUILD=tests,wheels,release
|
|
|
|
cache:
|
|
pip
|
|
|
|
install:
|
|
- .ci/travis-install.sh
|
|
|
|
script:
|
|
- .ci/travis-tests.sh && .ci/travis-build-wheels.sh
|
|
|
|
deploy:
|
|
provider: script
|
|
script: .ci/travis-release.sh
|
|
on:
|
|
tags: true
|
|
condition: '"${BUILD}" == *release*'
|