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
3
Compare changes
  • Side-by-side
  • Inline
+ 4
3
@@ -12,9 +12,10 @@ 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 --fix-missing
lsb_release -a
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
@@ -32,7 +33,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