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
|
2020-07-01 07:17:27 +00:00
|
|
|
dist: xenial
|
2019-01-22 20:25:04 +00:00
|
|
|
python: 3.6
|
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
|
2020-10-02 11:34:54 +00:00
|
|
|
env:
|
|
|
|
jobs:
|
|
|
|
- PATH=/tmp/bin/:$PATH
|
|
|
|
|
2019-02-10 20:02:30 +00:00
|
|
|
script:
|
2020-10-02 11:34:54 +00:00
|
|
|
# In Mac OS python and pip binaries are v2, so we create symlinks
|
|
|
|
- mkdir /tmp/bin && ln -s $(which python3) /tmp/bin/python && ln -s $(which pip3) /tmp/bin/pip
|
|
|
|
- pip install --upgrade pip setuptools==44.0.0
|
2019-02-10 20:02:30 +00:00
|
|
|
- make ci-info
|
2020-10-02 11:34:54 +00:00
|
|
|
- make bootstrap-dev-plugins
|
2019-05-05 09:49:08 +00:00
|
|
|
- make test
|
2020-10-02 11:34:54 +00:00
|
|
|
- make bundle
|
|
|
|
- make ci-test-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
|
2020-10-02 11:34:54 +00:00
|
|
|
script: make ci-push-bundle
|
2019-01-22 20:25:04 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2019-06-23 15:01:28 +00:00
|
|
|
tags: true
|