Version 3 #1

Manually merged
timw4mail merged 47 commits from develop into master 2020-04-23 18:39:27 -04:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 8e13b80a3a - Show all commits

View File

@ -5,7 +5,7 @@ before_script:
- php composer.phar install --ignore-platform-reqs
services:
- mysql:latest
- postgres:latest
- postgres:alpine
variables:
MYSQL_ROOT_PASSWORD: foo-bar-baz
@ -17,11 +17,11 @@ variables:
POSTGRES_PASSWORD: test
test:7.1:
image: php:7.1
image: php:7.1-alpine
script:
- vendor/bin/phpunit -c build --no-coverage
test:7.2:
image: php:7.2
image: php:7.2-alpine
script:
- vendor/bin/phpunit -c build --no-coverage

View File

@ -9,8 +9,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
set -xe
# Install git (the php image doesn't have it) which is required by composer
apt-get update -yqq
apt-get install git libpq-dev unzip -yqq
echo -e 'http://dl-cdn.alpinelinux.org/alpine/edge/main\nhttp://dl-cdn.alpinelinux.org/alpine/edge/community\nhttp://dl-cdn.alpinelinux.org/alpine/edge/testing' > /etc/apk/repositories
apk add --no-cache \
curl \
git
# Install phpunit, the tool that we will use for testing
curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar