mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
12a5d8a155
apt.postgresql.org will soon be providing packages for arm64 so it's important that we support it.
Testing on multiple architectures also helps expose potential issues in popular architectures. See 10a5182d
for an example.
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
branches:
|
|
only:
|
|
- integration
|
|
- /-ci$/
|
|
- /-cit$/
|
|
|
|
os: linux
|
|
dist: trusty
|
|
|
|
language: c
|
|
|
|
services:
|
|
- docker
|
|
|
|
jobs:
|
|
# The first five jobs should be the canaries in the coal mine, i.e. the most likely to fail if there are problems in the code.
|
|
# They should also be a good mix of unit, integration, and documentation tests.
|
|
#
|
|
# In general tests should be ordered from slowest to fastest for the first five jobs (the maximum concurrent jobs allowed), then
|
|
# slowest to fastest for the rest of the tests. This does not make a difference for testing a single commit, but when multiple
|
|
# commits are being tested it is best to have the slowest jobs first so that as jobs become available they will tackle the slowest
|
|
# tests first.
|
|
include:
|
|
# All unit (without coverage) and integration tests for 32-bit
|
|
- env: PGB_CI="test --vm=u12 --param=no-performance"
|
|
|
|
# Debian/Ubuntu documentation
|
|
- env: PGB_CI=" doc --vm=u18"
|
|
|
|
# All integration tests
|
|
- env: PGB_CI="test --vm=co6 --param=build-package --param=module=mock --param=module=real"
|
|
|
|
# All unit tests (with coverage) on the newest gcc available
|
|
- env: PGB_CI="test --vm=f30 --param=c-only --param=no-performance"
|
|
|
|
# All integration tests
|
|
- env: PGB_CI="test --vm=u18 --param=build-package --param=module=mock --param=module=real"
|
|
|
|
# RHEL/CentOS 6 documentation
|
|
- env: PGB_CI=" doc --vm=co6"
|
|
|
|
# Performance tests and unit tests (with coverage) run without a container in a non-UTC timezone
|
|
- arch: arm64
|
|
dist: bionic
|
|
env:
|
|
- PGB_CI="test --vm=none --param=tz=America/New_York"
|
|
services:
|
|
|
|
# All integration tests
|
|
- env: PGB_CI="test --vm=co7 --param=build-package --param=module=mock --param=module=real"
|
|
|
|
# RHEL/CentOS 7 documentation
|
|
- env: PGB_CI=" doc --vm=co7"
|
|
|
|
install:
|
|
- umask 0022 && cd ~ && pwd && whoami && umask && groups
|
|
- df -Th && top -bn1
|
|
|
|
script:
|
|
- ${TRAVIS_BUILD_DIR?}/test/travis.pl ${PGB_CI?}
|