mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-20 04:35:00 +08:00
This removes a lot of duplicated code across the two versions of update tests (one with testing of constraints vs one without) and potentially allows for further additions more easily. Also, this splits Travis testing of updates into two jobs so they can run concurrently and reduce the amount of turnaround time for PRs. Finally, added versions since 0.8.0 that were not previously being tested.
16 lines
360 B
Bash
Executable File
16 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Prior to version 0.5.0, TimescaleDB did not fully support most constraints
|
|
# so we don't include update tests that test constraint support in pre-0.5.0
|
|
# versions.
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
TAGS="0.1.0 0.2.0 0.3.0 0.4.0 0.4.1 0.4.2"
|
|
|
|
for tag in ${TAGS};
|
|
do
|
|
UPDATE_FROM_TAG=${tag} TEST_VERSION="v1" $(dirname $0)/test_update_from_tag.sh
|
|
done
|