2019-01-22 20:25:04 +00:00
|
|
|
language: python
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
# We need an older version of python in order to have compatibility with
|
|
|
|
# older versions of libc
|
|
|
|
dist: trusty
|
|
|
|
python: 3.6
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
env:
|
|
|
|
BUILD_BINARY: "true"
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
python: 3.6
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
env:
|
|
|
|
BUILD_DOCKER: "true"
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
python: 3.6
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
env:
|
|
|
|
BUILD_PYPI: "true"
|
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
env:
|
|
|
|
BUILD_BINARY: "true"
|
|
|
|
|
2019-02-10 20:02:30 +00:00
|
|
|
script:
|
|
|
|
- make ci-info
|
|
|
|
- make ci-bundle
|
2019-01-22 20:25:04 +00:00
|
|
|
|
2018-05-30 16:07:34 +00:00
|
|
|
deploy:
|
2019-04-22 13:14:46 +00:00
|
|
|
# Create github release and push binary to github
|
|
|
|
- provider: script
|
|
|
|
script: make ci-github
|
2019-01-22 20:25:04 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
condition: $BUILD_BINARY = true
|
|
|
|
|
|
|
|
# Push docker images to docker hub
|
|
|
|
- provider: script
|
2019-02-10 20:02:30 +00:00
|
|
|
script: make ci-images
|
2019-01-22 20:25:04 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
2019-04-22 11:29:53 +00:00
|
|
|
condition: $BUILD_DOCKER = true && $TRAVIS_TAG != "nightly"
|
2019-01-22 20:25:04 +00:00
|
|
|
|
|
|
|
# Push to pypi
|
|
|
|
- provider: script
|
2019-02-10 20:02:30 +00:00
|
|
|
script: make ci-pypi
|
2019-01-22 20:25:04 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
2019-04-22 11:29:53 +00:00
|
|
|
condition: $BUILD_PYPI = true && $TRAVIS_TAG != "nightly"
|