diff --git a/.travis.yml b/.travis.yml index 3cc39a58..0378de05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,13 @@ dist: trusty matrix: include: - php: 5.3 - dist: precise - php: 5.4 - php: 5.5 - php: 5.6 - php: 7.0 - php: 7.1 - php: 7.2 + - php: nightly fast_finish: true services: diff --git a/libs/libs - Verknüpfung.lnk b/libs/libs - Verknüpfung.lnk new file mode 100644 index 00000000..518311b5 Binary files /dev/null and b/libs/libs - Verknüpfung.lnk differ diff --git a/utilities/BuildExpectedFiles.php b/utilities/BuildExpectedFiles.php new file mode 100644 index 00000000..b6c368d8 --- /dev/null +++ b/utilities/BuildExpectedFiles.php @@ -0,0 +1,30 @@ +isDot() && 'php' == $file->getExtension()) { + $filename = $file->getBasename(); + $sysplugins[ $filename ] = true; + } +} +$plugins = array(); +$iterator = new DirectoryIterator(__DIR__ . '/../libs/plugins'); +foreach ($iterator as $file) { + if (!$file->isDot() && 'php' == $file->getExtension()) { + $filename = $file->getBasename(); + $plugins[ $filename ] = true; + } +} +$code = file_get_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php'); +$expectedPlugins = '$expectedPlugins = ' . var_export($plugins, true); +$code = preg_replace('#\$expectedPlugins =[^;]+#', $expectedPlugins, $code); +$expectedSysplugins = '$expectedSysplugins = ' . var_export($sysplugins, true); +$code = preg_replace('#\$expectedSysplugins =[^;]+#', $expectedSysplugins, $code); +file_put_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php', $code); +