1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/.travis.yml

47 lines
1.3 KiB
YAML
Raw Normal View History

branches:
only:
- integration
- /-ci$/
dist: trusty
sudo: required
language: c
services:
- docker
env:
2017-06-25 00:04:02 +02:00
- PGB_CI="--vm=co6 test"
- PGB_CI="--vm=u16 test"
- PGB_CI="--vm=co7 test"
- PGB_CI="--vm=u12 test"
2017-06-25 00:04:02 +02:00
- PGB_CI="doc"
before_install:
- sudo apt-get -qq update && sudo apt-get install libxml-checker-perl libdbd-pg-perl libperl-critic-perl libtemplate-perl libpod-coverage-perl libtest-differences-perl libhtml-parser-perl lintian debhelper txt2man devscripts libjson-perl libio-socket-ssl-perl libxml-libxml-perl libyaml-perl python-pip
2017-06-12 16:52:32 +02:00
- |
# Install & Configure AWS CLI
pip install --upgrade --user awscli
aws configure set region us-east-1
aws configure set aws_access_key_id accessKey1
aws configure set aws_secret_access_key verySecretKey1
aws help --version
aws configure list
- |
# Install Devel::Cover
sudo dpkg -i ${TRAVIS_BUILD_DIR?}/test/package/u14-libdevel-cover-perl_1.23-2_amd64.deb
/usr/bin/cover -v
install:
- |
# User Configuration
sudo adduser --ingroup=${USER?} --disabled-password --gecos "" pgbackrest
umask 0022
cd ~ && pwd && whoami && umask && groups
mv ${TRAVIS_BUILD_DIR?} pgbackrest
rm -rf ${TRAVIS_BUILD_DIR?}
script:
2017-06-25 00:04:02 +02:00
- pgbackrest/test/travis.pl ${PGB_CI?}