mirror of
https://github.com/google/brotli.git
synced 2024-11-08 21:30:04 +00:00
54 lines
1.9 KiB
YAML
54 lines
1.9 KiB
YAML
language: c
|
|
dist: trusty
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
matrix:
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='system' PYTHON_VERSION=2.7
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=2.7.10 CC=clang CXX=clang++
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=3.4.3 CC=clang CXX=clang++
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=3.5.0 CC=clang CXX=clang++
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=2.7.10
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=3.4.3
|
|
- BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=3.5.0
|
|
- BUILD_SYSTEM='cmake' CC=gcc CXX=g++
|
|
- BUILD_SYSTEM='cmake' CC=clang CXX=clang++
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=2.7.10 CC=clang CXX=clang++
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=3.4.3 CC=clang CXX=clang++
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='macpython' PYTHON_VERSION=3.5.0 CC=clang CXX=clang++
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=2.7.10
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=3.4.3
|
|
- os: linux
|
|
env: BUILD_SYSTEM='python' INSTALL_TYPE='homebrew' PYTHON_VERSION=3.5.0
|
|
|
|
install:
|
|
- ./buildfiles/.travis.sh install
|
|
script:
|
|
- ./buildfiles/.travis.sh script
|
|
after_success:
|
|
- ./buildfiles/.travis.sh after_success
|
|
|
|
before_deploy:
|
|
- if [ "${BUILD_SYSTEM}" = "python" ]; then export WHEELS=$(ls ./dist/*.whl); fi
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
secure: YcCBi6W/w4dtKCa59Wfm8L5lGWvK7KxaFNDr3yh1Hz5aStXXf758pEMHGewnlbfbwuj5a3SjBb1nLp1M69OQJfxm442uXBaBKo52PM9PPbD7NjvbNIso73pqcSODXQXKuZxDFpEhfuDTVq3hUkUqiwhChWhrFucJsSL51i7qSss=
|
|
file: "${WHEELS}"
|
|
skip_cleanup: true
|
|
on:
|
|
repo: "google/brotli"
|
|
tags: true
|
|
condition: "${BUILD_SYSTEM} = python"
|