forked from matthew-brett/delocate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (52 loc) · 1.66 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
language:
- objective-c
env:
global:
- MB_PYTHON_VERSION=3.7
- WHEEL_SPEC="wheel"
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
# travis encrypt -r matthew-brett/delocate WHEELHOUSE_UPLOADER_SECRET=<the api key>
- secure: "BRc15pHO6+WwBh36X7KK4KFC+/hD7G3r5bmkKkWqUSrm1fhFkqDizj9V5g/9pGEcAl5FRLV0VZjTeceISfu2UhXxQxj4CkkTy7KYuSbZak2pEntfsDs7YBpQ3NHJ6ic8YdcWgptRXIQfmg/KPc9FsBIfLxJ2yVyyY7D9XpK+SvQ="
# Default macOS (xcode image) is 10.13 (xcode 9.4.1) as of 2020-06-27
# See: https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
matrix:
include:
- env: MB_PYTHON_VERSION=2.7
- env: MB_PYTHON_VERSION=3.5
- env: MB_PYTHON_VERSION=3.6
- env: MB_PYTHON_VERSION=3.8
# Wheel API changes
- env: WHEEL_SPEC="wheel==0.31.1"
# Xcode 12.0 macOS 10.15.5
- osx_image: xcode12
# Xcode 9.1 OS X 10.12
- osx_image: xcode9.1
# Xcode 8.3.2 OS X 10.12
- osx_image: xcode8.3
# Xcode 8gm OS X 10.11
- osx_image: xcode8
# Default Xcode 7.3.1 OS X 10.11
- osx_image: xcode7.3
# Xcode 6.4 OS X 10.10
- osx_image: xcode6.4
# OS X 10.9
- osx_image: beta-xcode6.1
- env:
- MB_PYTHON_VERSION=2.7
- BUILD_WHEELS=1
install:
- set -vx # echo commands
- source multibuild/osx_utils.sh
- get_macpython_environment $MB_PYTHON_VERSION venv
- pip install $WHEEL_SPEC pytest
- if [ -n "$BUILD_WHEELS" ]; then
pip install cython;
(cd wheel_makers && ./make_wheels.sh);
fi
- pip install .
script:
- echo $PWD
- mkdir tmp_test_dir
- cd tmp_test_dir
- pytest --pyargs delocate