Adding support for PPC64LE architecture

This commit is contained in:
Eshant Gupta 2020-09-24 20:11:20 +05:30 committed by ezeeyahoo
parent 171371da5a
commit b1508494da
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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