This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
forked from rasterio/rasterio-wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
113 lines (106 loc) · 2.54 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
language: python
python: 3.6
dist: trusty
services: docker
filter_secrets: false
os: linux
cache:
ccache: true
directories:
- $HOME/.ccache
- $HOME/.cache/pip
env:
global:
- REPO_DIR=rasterio
- BUILD_COMMIT=2efb3585
- PLAT=x86_64
- UNICODE_WIDTH=32
- USE_CCACHE=1
addons:
artifacts:
paths:
- $(ls wheelhouse/*.whl)
jobs:
include:
- name: "Python 3.6 x86_64 linux"
os: linux
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.15.4
- NP_TEST_DEP=numpy==1.15.4
- name: "Python 3.7 x86_64 linux"
os: linux
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.15.4
- NP_TEST_DEP=numpy==1.15.4
- name: "Python 3.8 x86_64 linux"
os: linux
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP=numpy==1.17.5
- NP_TEST_DEP=numpy==1.17.5
- name: "Python 3.9 x86_64 linux"
os: linux
env:
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.9
- NP_BUILD_DEP=numpy==1.19.4
- NP_TEST_DEP=numpy==1.19.4
- name: "Python 3.6 osx"
os: osx
language: generic
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.15.4
- NP_TEST_DEP=numpy==1.15.4
- name: "Python 3.7 osx"
os: osx
language: generic
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.15.4
- NP_TEST_DEP=numpy==1.15.4
- os: osx
language: generic
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP=numpy==1.17.5
- NP_TEST_DEP=numpy==1.17.5
- MB_PYTHON_OSX_VER=10.9
- os: osx
language: generic
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP=numpy==1.17.5
- NP_TEST_DEP=numpy==1.17.5
- MB_PYTHON_OSX_VER=10.9
- os: osx
language: generic
osx_image: xcode9.3
env:
- MB_PYTHON_VERSION=3.9
- NP_BUILD_DEP=numpy==1.19.4
- NP_TEST_DEP=numpy==1.19.4
- MB_PYTHON_OSX_VER=10.9
before_install:
- python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
- BUILD_DEPENDS="$NP_BUILD_DEP cython==0.29.21 wheel==0.34.2"
- TEST_DEPENDS="$NP_TEST_DEP attrs==19.1.0 pytest==4.0.2 click==8.0.3 mock boto3 packaging hypothesis==4.38.1 wheel==0.34.2 $GEN_DEPS"
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
install:
- clean_code $REPO_DIR $BUILD_COMMIT
- build_wheel $REPO_DIR $PLAT
- ls -l ${TRAVIS_BUILD_DIR}/wheelhouse/
- unzip -l ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl
script:
- install_run $PLAT