automated-typo3-update/.gitlab-ci.yml
Daniel Siepmann c511f1a70b
WIP|FEATURE: Test on multiple php versions
* Use different jobs to run in parallel.
* Use different docker image for each php version.
* Provide common way to install composer on each image.
2017-04-08 23:29:08 +02:00

27 lines
417 B
YAML

before_script:
- >
apt-get update
&& apt-get install -y
make
wget
--no-install-recommends
&& rm -r /var/lib/apt/lists/*
- make install-composer
- make install
stages:
- test
test:5.6:
image: php:5.6
stage: test
script:
- ./vendor/bin/phpunit
test:7.0:
image: php:7.0
stage: test
script:
- ./vendor/bin/phpunit
# Further stages, and jobs e.g. linting, cgl, etc.