@@ -44,14 +44,6 @@ cache:
44
44
- $HOME/downloads
45
45
46
46
before_install :
47
- - |
48
- # Workaround the following error occuring because python installation is cached but gettext dependency is not
49
- # dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
50
- # Referenced from: /Users/travis/.pyenv/versions/3.7.2/bin/python
51
- # Reason: Incompatible library version: python requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
52
- if [[ "$TRAVIS_OS_NAME" == "osx" && "${PYTHON_VERSION}" == "3.7.8" ]]; then
53
- brew install gettext
54
- fi
55
47
- |
56
48
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
57
49
mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; ln -s $(which python2) $HOME/bin/python;
@@ -66,38 +58,40 @@ before_install:
66
58
--env TRAVIS=True \
67
59
--env TRAVIS_OS_NAME="${TRAVIS_OS_NAME}" \
68
60
quay.io/pypa/manylinux2014_$(arch) bash
69
- docker exec -it python-ninja /io/scripts/docker- build.sh ci_before_install
61
+ docker exec -it python-ninja /io/scripts/manylinux2014-aarch64- build-and-test-wheel .sh ci_before_install
70
62
fi
71
63
72
64
install :
73
65
- |
74
66
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
75
67
ci install
76
68
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
77
- docker exec -it python-ninja /io/scripts/docker-build.sh ci_install
69
+ pip install twine
70
+ docker exec -it python-ninja /io/scripts/manylinux2014-aarch64-build-and-test-wheel.sh ci_install
78
71
fi
79
72
80
73
script :
81
74
- |
82
75
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
83
76
ci test
84
77
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
85
- docker exec -it python-ninja /io/scripts/docker- build.sh ci_script
78
+ docker exec -it python-ninja /io/scripts/manylinux2014-aarch64- build-and-test-wheel .sh ci_script
86
79
fi
87
80
88
81
after_success :
89
82
- |
90
83
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
91
84
ci after_test
92
85
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
93
- docker exec -it python-ninja /io/scripts/docker- build.sh ci_after_success
86
+ docker exec -it python-ninja /io/scripts/manylinux2014-aarch64- build-and-test-wheel .sh ci_after_success
94
87
docker stop python-ninja
95
88
fi
89
+ pwd && ls dist; PATH=~/.pyenv/versions/${PYTHON_VERSION}/bin/:$PATH && twine --version
96
90
97
91
deploy :
98
92
# deploy-release
99
93
- provider : script
100
- script : pwd && ls dist;echo "deploy-release" && ~/.pyenv/versions/${PYTHON_VERSION}/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD --skip-existing dist/*
94
+ script : pwd && ls dist;echo "deploy-release" && PATH= ~/.pyenv/versions/${PYTHON_VERSION}/bin/:$PATH && twine upload -u $PYPI_USER -p $PYPI_PASSWORD --skip-existing dist/*
101
95
skip_cleanup : true
102
96
on :
103
97
repo : ${TRAVIS_REPO_SLUG}
0 commit comments