diff --git a/.travis.yml b/.travis.yml index 56355c24..820c481e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/scripts/travis_prepare.sh b/scripts/travis_prepare.sh index 068285cb..49c79115 100755 --- a/scripts/travis_prepare.sh +++ b/scripts/travis_prepare.sh @@ -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 diff --git a/scripts/travis_test.sh b/scripts/travis_test.sh index 69a62365..a6923564 100755 --- a/scripts/travis_test.sh +++ b/scripts/travis_test.sh @@ -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