1
+ env :
2
+ global :
3
+ - CIBW_BEFORE_BUILD="pip install -U pip"
4
+ - CIBW_TEST_REQUIRES="pytest!=3.3.0 pytest-cov codecov psutil coveralls"
5
+ - CIBW_TEST_COMMAND="pytest --cov=lz4 {project}/tests && codecov --required ; coveralls"
6
+
1
7
matrix :
2
8
include :
3
9
- name : linux-py27
9
15
env :
10
16
- PIP=pip
11
17
- CIBW_BUILD=cp27-*
18
+
12
19
- name : linux-py34
13
20
language : python
14
21
python : 3.4
@@ -18,6 +25,7 @@ matrix:
18
25
env :
19
26
- PIP=pip
20
27
- CIBW_BUILD=cp34-*
28
+
21
29
- name : linux-py35
22
30
language : python
23
31
python : 3.5
@@ -27,6 +35,7 @@ matrix:
27
35
env :
28
36
- PIP=pip3
29
37
- CIBW_BUILD=cp35-*
38
+
30
39
- name : linux-py36
31
40
language : python
32
41
python : 3.6
@@ -36,6 +45,7 @@ matrix:
36
45
env :
37
46
- PIP=pip3
38
47
- CIBW_BUILD=cp36-*
48
+
39
49
- name : linux-py37
40
50
language : python
41
51
python : 3.7
@@ -46,80 +56,46 @@ matrix:
46
56
env :
47
57
- PIP=pip3
48
58
- CIBW_BUILD=cp37-*
59
+
49
60
- name : osx-py27
50
61
os : osx
51
62
language : generic
52
63
env :
53
64
- PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"
54
65
- PIP=pip
55
66
- CIBW_BUILD=cp27-*
56
- - CIBW_BEFORE_BUILD="${PIP} install -U pip"
57
- - CIBW_TEST_REQUIRES="pytest!=3.3.0 psutil"
58
- - CIBW_TEST_COMMAND="pytest {project}/tests"
59
- install :
60
- - ${PIP} install cibuildwheel==0.10.0
61
- script :
62
- - cibuildwheel --output-dir dist
67
+
63
68
- name : osx-py34
64
69
os : osx
65
70
language : generic
66
71
env :
67
72
- PIP=pip2
68
73
- CIBW_BUILD=cp34-*
69
- - CIBW_BEFORE_BUILD="${PIP} install -U pip; ${PIP} install pytest!=3.3.0 psutil"
70
- - CIBW_TEST_REQUIRES="pytest!=3.3.0 psutil"
71
- - CIBW_TEST_COMMAND="pytest {project}/tests"
72
- install :
73
- - ${PIP} install cibuildwheel==0.10.0
74
- script :
75
- - cibuildwheel --output-dir dist
74
+
76
75
- name : osx-py35
77
76
os : osx
78
77
language : generic
79
78
env :
80
79
- PIP=pip2
81
80
- CIBW_BUILD=cp35-*
82
- - CIBW_BEFORE_BUILD="${PIP} install -U pip"
83
- - CIBW_TEST_REQUIRES="pytest!=3.3.0 psutil"
84
- - CIBW_TEST_COMMAND="pytest {project}/tests"
85
- install :
86
- - ${PIP} install cibuildwheel==0.10.0
87
- script :
88
- - cibuildwheel --output-dir dist
81
+
89
82
- name : osx-py36
90
83
os : osx
91
84
language : generic
92
85
env :
93
86
- PIP=pip2
94
87
- CIBW_BUILD=cp36-*
95
- - CIBW_BEFORE_BUILD="${PIP} install -U pip"
96
- - CIBW_TEST_REQUIRES="pytest!=3.3.0 pytest-cov codecov psutil coveralls"
97
- - CIBW_TEST_COMMAND="pytest --cov=lz4 {project}/tests; codecov --required; coveralls"
98
- install :
99
- - ${PIP} install cibuildwheel==0.10.0
100
- script :
101
- - cibuildwheel --output-dir dist
88
+
102
89
- name : osx-py37
103
90
os : osx
104
91
language : generic
105
92
env :
106
93
- PIP=pip2
107
94
- CIBW_BUILD=cp37-*
108
- - CIBW_BEFORE_BUILD="${PIP} install -U pip"
109
- - CIBW_TEST_REQUIRES="pytest!=3.3.0 psutil"
110
- - CIBW_TEST_COMMAND="pytest {project}/tests"
111
- install :
112
- - ${PIP} install cibuildwheel==0.10.0
113
- script :
114
- - cibuildwheel --output-dir dist
95
+
115
96
install :
116
- - ${PIP} install -U pip
117
97
- ${PIP} install cibuildwheel==0.10.0
118
- - ${PIP} install codecov tox
119
98
script :
120
- - tox tests
121
- - codecov --required
122
- - git stash --all # Restore fresh checkout
123
99
- cibuildwheel --output-dir dist
124
100
deploy :
125
101
- provider : pypi
0 commit comments