forked from bestpractical/rt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml.pause
20 lines (16 loc) · 924 Bytes
/
.travis.yml.pause
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: bash
services: docker
notifications:
slack:
secure: ebb/6lbr1ob7wMh04C5PzM5/NNz6IstEUaUROA7BATuKKgPetl6qwmQNwvlwE5zYvJQBWQwKJ70JaCzJkXK6JVMVRRAWsXINJTzMfSqsoXEcJ59c5isf0bsnspVO7jxHTfXF/NZngR4EuPwH5v5lWp9m++j90t9nBKFFVi34WUE=
env:
- RT_TEST_PARALLEL=1 RT_DBA_USER=root RT_DBA_PASSWORD=password DB_VERSION_TAG=10.3
# $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 build -t rt-base .
- docker run -d -v $TRAVIS_BUILD_DIR:/rt --name rt --link mariadb:db rt-base
- docker ps -a
- docker exec -it rt bash -c "cd /rt && ./configure.ac --with-db-type=mysql --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"
script:
- docker exec -it rt bash -c "cd /rt && prove -lj9 t/*"