mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 03:23:37 +08:00
Add update test on PG11
Change travis to to run update tests on PG11.
This commit is contained in:
parent
6fe5ef3957
commit
d34731a4e3
14
.travis.yml
14
.travis.yml
@ -310,6 +310,20 @@ jobs:
|
||||
script:
|
||||
- ${RETRY_PREFIX} bash ./scripts/test_updates_pg10.sh
|
||||
|
||||
# This tests the ability to upgrade to the latest version on pg 11
|
||||
- if: (type = pull_request) OR (type = cron) OR (branch = prerelease_test)
|
||||
stage: test
|
||||
env: PG_VERSION=11.0
|
||||
name: "Update tests PostgreSQL 11.0"
|
||||
before_install:
|
||||
install:
|
||||
after_failure:
|
||||
after_script:
|
||||
after_success:
|
||||
script:
|
||||
- ${RETRY_PREFIX} bash ./scripts/test_updates_pg11.sh
|
||||
|
||||
|
||||
- if: (type = cron) OR (branch = prerelease_test)
|
||||
stage: test
|
||||
name: "ABI breakage smoketest 9.6"
|
||||
|
25
scripts/test_updates_pg11.sh
Executable file
25
scripts/test_updates_pg11.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
SCRIPT_DIR=$(dirname $0)
|
||||
|
||||
TAGS="1.1.0-pg11 1.1.1-pg11 1.2.0-pg11 1.2.1-pg11 1.2.2-pg11"
|
||||
TEST_VERSION="v2"
|
||||
|
||||
TAGS=$TAGS TEST_VERSION=$TEST_VERSION bash ${SCRIPT_DIR}/test_updates.sh
|
||||
EXIT_CODE=$?
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
exit $EXIT_CODE
|
||||
fi
|
||||
|
||||
|
||||
TAGS="1.3.0-pg11 1.3.1-pg11 1.3.2-pg11 1.4.0-pg11 1.4.1-pg11 1.4.2-pg11"
|
||||
TEST_VERSION="v3"
|
||||
|
||||
TAGS=$TAGS TEST_VERSION=$TEST_VERSION bash ${SCRIPT_DIR}/test_updates.sh
|
||||
EXIT_CODE=$?
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
exit $EXIT_CODE
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user