Skip to content
Snippets Groups Projects

Add GitLab CI

Merged Erick Hitter requested to merge add/gitlab-ci into master
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
+ 2
3
@@ -13,7 +13,6 @@ before_script:
# install the required packages for the running CI tests
- |
apt-get -yqqf install lsb-release zip unzip subversion mysql-client --fix-missing
lsb_release -a
if [[ $(lsb_release -a) =~ "stretch" ]]; then
apt-get -yqqf install default-libmysqlclient-dev --fix-missing
@@ -22,7 +21,7 @@ before_script:
fi
# PHP extensions
- docker-php-ext-install mbstring mysqli
- docker-php-ext-install mbstring mysqli intl gd zip bz2
- docker-php-ext-enable mbstring mysqli intl gd zip bz2
# Install Composer
@@ -33,7 +32,7 @@ before_script:
# PHPUnit
- |
if [[ $(php -v) =~ "^PHP 7\." ]]; then
if [[ $(php -v) =~ "PHP 7." ]]; then
php composer.phar global require "phpunit/phpunit=6.1.*"
else
php composer.phar global require "phpunit/phpunit=4.8.*"
Loading