forked from OpenPTV/openptv
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (31 loc) · 767 Bytes
/
Copy path.travis.yml
File metadata and controls
33 lines (31 loc) · 767 Bytes
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
33
language: python
matrix:
include:
- sudo: required
services:
- docker
env:
- CIBW_SKIP="*manylinux1_i686* cp34-*"
- CIBW_BEFORE_BUILD="pip install -r requirements.txt && python setup.py prepare
--liboptv-dir liboptv-src"
- PIP=pip
- os: osx
language: generic
env:
- PIP=pip2
- CIBW_BEFORE_BUILD="cd py_bind && pip install -r requirements.txt && python setup.py
prepare --liboptv-dir liboptv-src"
- CIBW_SKIP=cp34-*
script:
- "$PIP install cibuildwheel==0.10.2"
- cp -R liboptv py_bind/liboptv-src
- cibuildwheel py_bind --output-dir wheelhouse
deploy:
provider: releases
skip_cleanup: true
api_key: "$GITHUB_TOKEN"
file_glob: true
file: wheelhouse/*
on:
tags: true
branch: master