mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-28 17:10:05 +03:00
Adding support for PPC64LE architecture
This commit is contained in:
parent
171371da5a
commit
b1508494da
|
@ -7,6 +7,7 @@ dist: bionic
|
|||
arch:
|
||||
- amd64
|
||||
- arm64
|
||||
- ppc64le
|
||||
|
||||
python:
|
||||
- 3.5
|
||||
|
@ -17,6 +18,8 @@ python:
|
|||
matrix:
|
||||
include:
|
||||
- python: 2.7
|
||||
- python: 2.7
|
||||
arch: ppc64le
|
||||
|
||||
install:
|
||||
- sudo apt-get install -y bc
|
||||
|
|
|
@ -121,8 +121,8 @@ create () {
|
|||
cd /
|
||||
|
||||
if (( "$TEST_PRESENT" )); then
|
||||
if [[ ${TRAVIS_CPU_ARCH} == "arm64" ]]; then
|
||||
# Postgres versions supported by ARM64
|
||||
if [[ ${TRAVIS_CPU_ARCH} == "arm64" ]] || [[ ${TRAVIS_CPU_ARCH} == "ppc64le" ]]; then
|
||||
# Postgres versions supported by ARM64 and PPC64LE
|
||||
create 10
|
||||
else
|
||||
create 12
|
||||
|
|
|
@ -51,8 +51,8 @@ run_test () {
|
|||
}
|
||||
|
||||
if (( "$TEST_PRESENT" )); then
|
||||
if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
|
||||
# Postgres versions supported by ARM64
|
||||
if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]] || [[ ${TRAVIS_CPU_ARCH} == "ppc64le" ]]; then
|
||||
# Postgres versions supported by ARM64 and PPC64LE
|
||||
run_test 10
|
||||
else
|
||||
# Postgres versions supported by Travis CI
|
||||
|
|
Loading…
Reference in New Issue
Block a user