This repository was archived by the owner on Jul 5, 2023. It is now read-only.
File tree 2 files changed +45
-0
lines changed
2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ matrix :
2
+ include :
3
+ - sudo : required
4
+ services :
5
+ - docker
6
+ env : DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
7
+ - sudo : required
8
+ services :
9
+ - docker
10
+ env : DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
11
+ PRE_CMD=linux32
12
+
13
+ install :
14
+ - docker pull $DOCKER_IMAGE
15
+
16
+ script :
17
+ - docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/.travis/build-linux-wheels.sh
18
+ - ls wheelhouse/
19
+
20
+ deploy :
21
+ provider : gcs
22
+ access_key_id : " $GOOGLE_ACCESS_KEY"
23
+ secret_access_key : " $GOOGLE_SECRET_KEY"
24
+ bucket : " $GOOGLE_BUCKET_NAME"
25
+ local_dir : wheelhouse
26
+ skip_cleanup : true
27
+ acl : public-read
28
+ on :
29
+ repo : python/typed_ast
30
+ branch : master
31
+ tags : true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -eux
2
+
3
+ # Compile wheels
4
+ for PYBIN in /opt/python/* /bin; do
5
+ if [ $( echo " ${PYBIN} " | grep -o ' [[:digit:]][[:digit:]]' | head -n 1) -ge 33 ]; then
6
+ # typed_ast only builds on Python 3.3 and newer
7
+ " ${PYBIN} /pip" wheel /io/ -w wheelhouse/
8
+ fi
9
+ done
10
+
11
+ # Bundle external shared libraries into the wheels
12
+ for whl in wheelhouse/* .whl; do
13
+ auditwheel repair " $whl " -w /io/wheelhouse/
14
+ done
You can’t perform that action at this time.
0 commit comments