[Rt-commit] rt branch, 4.4/add-postgresql-apache-fcgid-tests, updated. rt-4.4.4-134-geb8d160f19
Dianne Skoll
dianne at bestpractical.com
Mon Aug 10 14:33:46 EDT 2020
The branch, 4.4/add-postgresql-apache-fcgid-tests has been updated
via eb8d160f19b5ea754378443182483b11f14eeeac (commit)
from 02809225e3f43e01ae5b073e1e27beee336efdde (commit)
Summary of changes:
.travis.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
- Log -----------------------------------------------------------------
commit eb8d160f19b5ea754378443182483b11f14eeeac
Author: Dianne Skoll <dianne at bestpractical.com>
Date: Mon Aug 10 14:04:30 2020 -0400
Add combo to test PostgreSQL + Apache+mod_fcgid
diff --git a/.travis.yml b/.travis.yml
index e5f58175c6..86c07c1d62 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,3 +59,22 @@ jobs:
script:
- docker exec -it rt bash -c "cd /rt && su -c 'prove -lj9 t/*' rt-test"
+
+ - stage: test
+ name: Test against PostgreSQL and Apache with mod_fcgid
+ env:
+ - RT_TEST_PARALLEL=1 RT_DBA_USER=postgres RT_DBA_PASSWORD=password DB_VERSION_TAG=9.6
+
+# $TRAVIS_BUILD_DIR will have a clone of the current branch
+ before_install:
+ - docker run --name postgresql --mount type=tmpfs,destination=/var/lib/postgresql/data -e POSTGRES_PASSWORD=password -d postgres:$DB_VERSION_TAG
+ - docker build -t rt-base .
+ - docker run -d -e RT_DBA_USER=postgres -e RT_DBA_PASSWORD=password -e RT_TEST_WEB_HANDLER=apache+fcgid -e HTTPD_ROOT=/etc/apache2 -e RT_TEST_APACHE=/usr/sbin/apache2 -e RT_TEST_APACHE_MODULES=/usr/lib/apache2/modules -v $TRAVIS_BUILD_DIR:/rt --name rt --link postgresql:db rt-base
+ - docker ps -a
+ - docker exec -it rt bash -c "apt-get update && apt-get install -y libdbd-pg-perl"
+ - docker exec -it rt bash -c "adduser rt-test < /dev/null || true"
+ - docker exec -it rt bash -c "chown -R rt-test /rt"
+ - docker exec -it rt bash -c "cd /rt && su -c './configure.ac --with-db-type=Pg --enable-layout=inplace --with-my-user-group --enable-developer --enable-externalauth --disable-gpg --disable-smime --with-web-handler=fcgid' rt-test && su -c 'mkdir -p /rt/var' rt-test && su -c 'make testdeps' rt-test && su -c 'chmod a+rX /rt/sbin/*' rt-test && touch /etc/apache2/mime.types"
+
+ script:
+ - docker exec -it rt bash -c "cd /rt && su -c 'prove -lj9 t/*' rt-test"
-----------------------------------------------------------------------
More information about the rt-commit
mailing list