[Rt-commit] rt branch, 4.4/run-travis-ci-tests-with-mariadb-on-ramdisk, created. rt-4.4.4-131-g74f01d9a03

Dianne Skoll dianne at bestpractical.com
Fri Aug 7 12:17:03 EDT 2020


The branch, 4.4/run-travis-ci-tests-with-mariadb-on-ramdisk has been created
        at  74f01d9a0383f6148d87ebaefe427f77ebee36d1 (commit)

- Log -----------------------------------------------------------------
commit 74f01d9a0383f6148d87ebaefe427f77ebee36d1
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Fri Aug 7 12:16:22 2020 -0400

    Test Travis-CI speed with /var/lib/mysql in a tmpfs file system.

diff --git a/.travis.yml b/.travis.yml
index 9a3695ae32..ea13451972 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ env:
 
 # $TRAVIS_BUILD_DIR will have a clone of the current branch
 before_install:
-  - docker run --name mariadb -e MYSQL_ROOT_PASSWORD=password -d mariadb:$DB_VERSION_TAG
+  - docker run --name mariadb -e MYSQL_ROOT_PASSWORD=password -d --mount type=tmpfs,destination=/var/lib/mysql mariadb:$DB_VERSION_TAG
   - docker build -t rt-base .
   - docker run -d -v $TRAVIS_BUILD_DIR:/rt --name rt --link mariadb:db rt-base
   - docker ps -a

-----------------------------------------------------------------------


More information about the rt-commit mailing list