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

View File

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

View File

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