forked from matthew-brett/delocate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.52 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
language:
- objective-c
env:
global:
- VERSION="3.5.3"
- 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 OSX (xcode image) is 10.11 (xcode 7.3.1) as of 2017-05-02
# See: https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
matrix:
include:
- env: VERSION="2.7.13"
- env: VERSION="3.4.4"
- env: VERSION="3.6.1"
# Wheel API changes
- env: WHEEL_SPEC="wheel==0.31.1"
# OS X 10.9
- osx_image: beta-xcode6.1
# 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
- env:
- VERSION=2.7.13
- BUILD_WHEELS=1
install:
- set -vx # echo commands
- source multibuild/osx_utils.sh
- get_macpython_environment $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