Skip to content
Snippets Groups Projects

Add GitLab CI

Merged Erick Hitter requested to merge add/gitlab-ci into master
Compare and Show latest version
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -12,16 +12,16 @@ before_script:
# install the required packages for the running CI tests
- |
apt-get -yqqf install zip unzip subversion mysql-client --fix-missing
apt-get -yqqf install lsb-release zip unzip subversion mysql-client libicu-dev libpng-dev libbz2-dev --fix-missing
if [[ $(lsb_relase -a) =~ "stretch" ]]; then
if [[ $(lsb_release -a) =~ "stretch" ]]; then
apt-get -yqqf install default-libmysqlclient-dev --fix-missing
else
apt-get -yqqf install libmysqlclient-dev --fix-missing
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
@@ -32,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