forked from osmcode/pyosmium-wheel-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
135 lines (128 loc) · 2.87 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
env:
global:
- REPO_DIR=pyosmium
# Commit from your-project that you want to build
# commented so we manually set, which version to build
# BUILD_COMMIT requires following line in install section:
# - clean_code $REPO_DIR $BUILD_COMMIT
# - BUILD_COMMIT=master
# pip dependencies to _build_ your project
- BUILD_DEPENDS=""
# pip dependencies to _test_ your project. Include any dependencies
# that you need, that are also specified in BUILD_DEPENDS, this will be
# a separate install.
- TEST_DEPENDS="nose mock"
- PLAT=x86_64
- UNICODE_WIDTH=32
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# manylinux version to build (1, 2010 or 2014)
- MB_ML_VER=2010
language: generic
dist: xenial
os: linux
services: docker
branches:
except:
- /^untagged-.*/
jobs:
include:
# Manylinux1
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- PLAT=i686
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- MB_ML_VER=1
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- PLAT=i686
- MB_ML_VER=1
# Manylinux2010 (default)
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- os: linux
env:
- MB_PYTHON_VERSION=3.5
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- PLAT=i686
# macOS wheels
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.5
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.8
before_install:
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
install:
- build_wheel $REPO_DIR $PLAT
script:
- install_run $PLAT
deploy:
provider: releases
cleanup: false
skip_cleanup: true
file: "wheelhouse/*whl"
file_glob: true
token: ${GITHUB_API_KEY}
on:
branch: master