diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index aed4be7..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,86 +0,0 @@ -stages: -- Coding Standards -- Unit-Tests -- Build Packages - -variables: - BASE_VERSION: "2.0.0" - VERSION_SUFFIX: "-b${CI_BUILD_ID}-${CI_BUILD_REF_SLUG}" - -PSR2 CS Test: - stage: Coding Standards - tags: - - xenial - script: - - phpcs --report-width=auto --report-full --report-gitblame --report-summary -p --standard=PSR2 --extensions=php --encoding=utf-8 -w -s library/Businessprocess/ application/ configuration.php run.php test - -Ubuntu Xenial: - stage: Unit-Tests - tags: - - xenial - - businessprocess - script: - - phpunit --testdox --coverage-html=coverage || phpunit --verbose - artifacts: - expire_in: 1 week - name: code-coverage - paths: - - coverage/* - -Debian Jessie: - stage: Unit-Tests - tags: - - jessie - - businessprocess - script: - - phpunit --testdox || phpunit --verbose - -CentOS 6: - stage: Unit-Tests - tags: - - centos6 - - businessprocess - script: - - phpunit --testdox || phpunit --verbose - -CentOS 7: - stage: Unit-Tests - tags: - - centos7 - - businessprocess - script: - - phpunit --testdox || phpunit --verbose - -Xenial Packages: - stage: Build Packages - tags: - - xenial - - businessprocess - script: - - cp -a packaging/debian debian - - dch --no-conf -U -M --empty -v "${BASE_VERSION}${VERSION_SUFFIX}-${CI_BUILD_REF:0:7}" "Automated build triggered by ${GITLAB_USER_ID} <${GITLAB_USER_EMAIL}>" - - cp LICENSE debian/copyright - - dpkg-buildpackage -us -uc - - mkdir build - - mv ../icingaweb2-module-businessprocess*.deb build/ - artifacts: - expire_in: 1 week - paths: - - build/* - -Jessie Packages: - stage: Build Packages - tags: - - jessie - - businessprocess - script: - - cp -a packaging/debian debian - - dch --no-conf -U -M --empty -v "${BASE_VERSION}${VERSION_SUFFIX}-${CI_BUILD_REF:0:7}" "Automated build triggered by ${GITLAB_USER_ID} <${GITLAB_USER_EMAIL}>" - - cp LICENSE debian/copyright - - dpkg-buildpackage -us -uc - - mkdir build - - mv ../icingaweb2-module-businessprocess*.deb build/ - artifacts: - expire_in: 1 week - paths: - - build/* diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 69749bb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -language: php -php: - - '5.4' - - '5.5' - - '5.6' - - '7.0' - - '7.1' - - '7.2' - - nightly - -matrix: - fast_finish: true - allow_failures: - - php: '5.4' - - php: '5.5' - - php: nightly - -cache: - directories: - - vendor - -env: - - ICINGAWEB_VERSION=2.6.2 - - IPL_VERSION=0.1.1 - -before_script: - - ./test/setup_vendor.sh - -script: - - php vendor/phpcs.phar - - php vendor/phpunit.phar --testdox || php vendor/phpunit.phar --verbose diff --git a/phpunit.xml b/phpunit.xml index 064e01c..5eaf639 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -7,7 +7,6 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false" bootstrap="test/bootstrap.php" >