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