-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (70 loc) · 2.32 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
language: python
python: 3.6
sudo: required
matrix:
include:
# when use [email protected], ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
#- os: osx
# osx_image: xcode11
# language: generic
# env: PYTHON_VERSIONS=3.4-dev
- os: osx
osx_image: xcode11
language: generic
env: PYTHON_VERSIONS=3.5-dev
- os: osx
osx_image: xcode11
language: generic
env: PYTHON_VERSIONS=3.6-dev
- os: osx
osx_image: xcode11
language: generic
env: PYTHON_VERSIONS=3.7-dev
- os: osx
osx_image: xcode11
language: generic
env: PYTHON_VERSIONS=3.8-dev
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64 PLAT=manylinux1_x86_64
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686 PRE_CMD=linux32 PLAT=manylinux1_i686
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux2010_x86_64 PLAT=manylinux2010_x86_64
install:
- |
if [ -n "$DOCKER_IMAGE" ]; then
docker pull $DOCKER_IMAGE
fi
script:
- |
if [ -n "$DOCKER_IMAGE" ]; then
docker run --rm -e PLAT=$PLAT -v `pwd`:/io $DOCKER_IMAGE /io/ci/build-wheels-using-docker.sh
else
./ci/build-wheels-using-mac.sh
fi
before_deploy:
- |
if [ -n "$DOCKER_IMAGE" ]; then
cd build/python
sudo chown -R travis:travis /home/travis/
rm dist/*
cp wheelhouse/* dist/.
else
brew install [email protected]
python -m pip install -r python/requirements-dev.txt
cd build/python
fi
deploy:
provider: pypi
server: https://test.pypi.org/legacy/
user: ksgwr
password:
secure: a8pgAHToR8DU06ZV+LskmytvpjyTrcseXJ+hGJHis2nl0PbRLSJ//oCAizVHk0khwfcMfGXhwJfl/Gbs+FH+WI7JqY9KiW2VmzBWCGripVq7bT1Q1GRTeNa7N40tT6rJpaM7JTOMvIjKq6tcRXOBIgFiQfjtTwn/YQRz6SPoTGHj3+K/qu9li+JOdNJfL+PtGagA3l3+Wia0yBZsPgVjRcly/b3fGcJSDl/05Ds/3uQuWqS/A61HMfaGatnxcZWfAyTTH8tVjtZ3MYTRoOmeauZnY2wdQvkUvcomL9wuiv2HNC7vFd5sKTlFIALJSpoyed9UAVyXja5aihmCccX17EhkRd8i6QQO33QDBqMqCKBkHSeL+TW5LwMM9WY1+LO93EWErhZfcVAz04YbS7EoNmvnaUg05YYra9tUX7cTR5hTTnd5n3oMl+kBPPDq4MomXD1Inv2f/Kyxhz52UQdrkiitmKwDsR0ph6s6Y+/301qPJJRyHB3w3dOjeyvOPOenupz5LFOvVqnTf9WmWURNL7GA9c1Ub+PJcF2IPf1pApUITi1vNmaY0sKhjayBWe2+gavqTA+JbufVtPBhN4JJ0xujOs68iETf7oT+y8za0Ker8G9A9oBGLVD2XYxV3RDDN0cu3nM8CDWWDwQBsQhCpvQmU5vsuQmAqXju1NwFQQk=
#on:
# tags: true
distributions: bdist_wheel
skip_cleanup: true
skip_existing: true