1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/.travis.yml
David Steele b031dbbcf8 Allow timezones to be explicitly set for testing.
The TZ environment variable was not reliably pushed down to the test processes.

Instead pass TZ via a command line parameter and set explicitly in the test process.
2019-12-11 22:11:04 -05:00

35 lines
802 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=no-package --param=c-only"
- env: PGB_CI="test --vm=co6 --param=module=mock --param=module=real"
- env: PGB_CI="test --vm=u18 --param=container-only"
- env: PGB_CI=" doc --vm=u18"
- env: PGB_CI="test --vm=co7 --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?}