Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 22 additions and 0 deletions
Showing only changes of commit fec9de0e3d - Show all commits

View File

@ -3,6 +3,9 @@
# We need to install dependencies only for Docker # We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0 [[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
# Where am I?
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
set -xe set -xe
# Install git (the php image doesn't have it) which is required by composer # Install git (the php image doesn't have it) which is required by composer
@ -13,6 +16,10 @@ apt-get install git unzip libfreetype6 libjpeg62-turbo libmcrypt4 libpng12-0 lib
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod +x /usr/local/bin/phpunit chmod +x /usr/local/bin/phpunit
# Move redis test config file into place
mv "$DIR/test/redis.toml" "$DIR/app/config/redis.toml"
# Install gd # Install gd
docker-php-ext-configure gd --enable-gd-native-ttf --with-jpeg-dir=/usr/lib/x86_64-linux-gnu --with-png-dir=/usr/lib/x86_64-linux-gnu --with-freetype-dir=/usr/lib/x86_64-linux-gnu docker-php-ext-configure gd --enable-gd-native-ttf --with-jpeg-dir=/usr/lib/x86_64-linux-gnu --with-png-dir=/usr/lib/x86_64-linux-gnu --with-freetype-dir=/usr/lib/x86_64-linux-gnu
docker-php-ext-install gd docker-php-ext-install gd

15
tests/redis.toml Normal file
View File

@ -0,0 +1,15 @@
################################################################################
# Redis Cache Configuration #
################################################################################
# Host or socket to connect to
host = "redis"
# Connection port
#port = 6379
# Connection password
#password = ""
# Database number
database = 13