forked from google/brotli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (31 loc) · 968 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language:
- objective-c
env:
matrix:
- INSTALL_TYPE='system' VERSION=2.7
- INSTALL_TYPE='macpython' VERSION=2.7.10 CC=clang CXX=clang++
- INSTALL_TYPE='macpython' VERSION=3.4.3 CC=clang CXX=clang++
- INSTALL_TYPE='macpython' VERSION=3.5.0 CC=clang CXX=clang++
- INSTALL_TYPE='homebrew' VERSION=2.7.10
- INSTALL_TYPE='homebrew' VERSION=3.4.3
- INSTALL_TYPE='homebrew' VERSION=3.5.0
install:
- source terryfy/travis_tools.sh
- get_python_environment $INSTALL_TYPE $VERSION venv
- pip install --upgrade wheel
script:
- python setup.py build_ext test
after_success:
- pip wheel -w dist .
before_deploy:
- export WHEELS=$(ls ./dist/*.whl)
deploy:
provider: releases
api_key:
secure: YcCBi6W/w4dtKCa59Wfm8L5lGWvK7KxaFNDr3yh1Hz5aStXXf758pEMHGewnlbfbwuj5a3SjBb1nLp1M69OQJfxm442uXBaBKo52PM9PPbD7NjvbNIso73pqcSODXQXKuZxDFpEhfuDTVq3hUkUqiwhChWhrFucJsSL51i7qSss=
file:
- "${WHEELS}"
skip_cleanup: true
on:
repo: google/brotli
tags: true