1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-05 15:05:48 +02:00
pgbackrest/.travis.yml
David Steele 2c2bc8a32b Debug and optimize flag cleanup for unit tests.
Decisions about when to optimize or enable debug code were spread out in too many places making it hard to keep them consistent.

Centralize the logic as much as possible to make it easier to maintain.
2020-03-26 12:16:22 -04:00

35 lines
866 B
YAML

branches:
only:
- integration
- /-ci$/
dist: trusty
sudo: required
language: c
services:
- docker
matrix:
include:
- env: PGB_CI="test --vm=u12"
- env: PGB_CI="test --vm=f30 --param=c-only"
- env: PGB_CI="test --vm=co6 --param=build-package --param=module=mock --param=module=real"
- env: PGB_CI="test --vm=u18 --param=build-package --param=module=mock --param=module=real"
- env: PGB_CI=" doc --vm=u18"
- env: PGB_CI="test --vm=co7 --param=build-package --param=module=mock --param=module=real"
- dist: bionic
env:
- PGB_CI="test --vm=none --param=tz=America/New_York"
services:
- env: PGB_CI=" doc --vm=co6"
- 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?}