mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
parent
d195b78886
commit
dc169cb6a8
3 changed files with 16 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ cache:
|
|||
|
||||
env:
|
||||
- ICINGAWEB_VERSION=2.5.1
|
||||
- IPL_VERSION=0.1.1
|
||||
|
||||
before_script:
|
||||
- ./test/setup_vendor.sh
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ class Bootstrap
|
|||
|
||||
Cli::start($testsDir, $configDir)
|
||||
->getModuleManager()
|
||||
->loadModule('ipl', $basedir . '/vendor/ipl')
|
||||
->loadModule('businessprocess', $basedir);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ PHP_VERSION="$(php -r 'echo phpversion();')"
|
|||
ICINGAWEB_VERSION=${ICINGAWEB_VERSION:=2.5.1}
|
||||
ICINGAWEB_GITREF=${ICINGAWEB_GITREF:=}
|
||||
|
||||
IPL_VERSION=${IPL_VERSION:=0.1.1}
|
||||
|
||||
PHPCS_VERSION=${PHPCS_VERSION:=2.9.1}
|
||||
|
||||
if [ "$PHP_VERSION" '<' 5.6.0 ]; then
|
||||
|
|
@ -52,6 +54,18 @@ fi
|
|||
ln -svf "${icingaweb_path}"/library/Icinga
|
||||
ln -svf "${icingaweb_path}"/library/vendor/Zend
|
||||
|
||||
# ipl
|
||||
ipl_path="ipl"
|
||||
if [ ! -d "$ipl_path" ]; then
|
||||
git clone https://github.com/Icinga/icingaweb2-module-ipl.git "$ipl_path"
|
||||
fi
|
||||
(
|
||||
set -e
|
||||
cd "$ipl_path"
|
||||
git fetch -p
|
||||
git checkout -f "stable/$IPL_VERSION"
|
||||
)
|
||||
|
||||
# phpunit
|
||||
phpunit_path="phpunit-${PHPUNIT_VERSION}"
|
||||
if [ ! -e "${phpunit_path}".phar ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue