2017-02-21 15:59:23 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- integration
|
|
|
|
- /-ci$/
|
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
env:
|
2018-06-06 21:52:28 +02:00
|
|
|
- PGB_CI="--vm=u18 test"
|
2018-05-22 18:53:08 +02:00
|
|
|
- PGB_CI="--vm=co6 test"
|
2017-06-25 00:04:02 +02:00
|
|
|
- PGB_CI="--vm=co7 test"
|
2017-06-27 21:58:02 +02:00
|
|
|
- PGB_CI="--vm=u12 test"
|
2017-06-25 00:04:02 +02:00
|
|
|
- PGB_CI="doc"
|
2017-02-21 15:59:23 +02:00
|
|
|
|
|
|
|
before_install:
|
2018-06-06 21:52:28 +02:00
|
|
|
- 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-libyaml-perl python-pip lcov libjson-maybexs-perl
|
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
|
2017-06-09 23:51:41 +02:00
|
|
|
- |
|
2017-06-24 16:59:00 +02:00
|
|
|
# Install Devel::Cover
|
2018-06-06 21:52:28 +02:00
|
|
|
sudo dpkg -i ${TRAVIS_BUILD_DIR?}/test/package/u14-libdevel-cover-perl_1.29-2_amd64.deb
|
|
|
|
sudo apt-get -f install
|
2017-06-09 23:51:41 +02:00
|
|
|
/usr/bin/cover -v
|
2017-02-21 15:59:23 +02:00
|
|
|
|
|
|
|
install:
|
2017-06-09 23:51:41 +02:00
|
|
|
- |
|
|
|
|
# User Configuration
|
2018-07-21 23:02:42 +02:00
|
|
|
sudo adduser --ingroup=${USER?} --uid=5001 --disabled-password --gecos "" pgbackrest
|
2017-06-09 23:51:41 +02:00
|
|
|
umask 0022
|
|
|
|
cd ~ && pwd && whoami && umask && groups
|
|
|
|
mv ${TRAVIS_BUILD_DIR?} pgbackrest
|
|
|
|
rm -rf ${TRAVIS_BUILD_DIR?}
|
2017-02-21 15:59:23 +02:00
|
|
|
|
|
|
|
script:
|
2017-06-25 00:04:02 +02:00
|
|
|
- pgbackrest/test/travis.pl ${PGB_CI?}
|