This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +91
-89
lines changed
Expand file tree Collapse file tree 5 files changed +91
-89
lines changed Original file line number Diff line number Diff line change 1- #
2- # This file is part of phpFastCache.
3- #
4- # @license MIT License (MIT)
5- #
6- # For full copyright and license information, please see the docs/CREDITS.txt file.
7- #
8- # @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
9- # @author Georges.L (Geolim4) <contact@geolim4.com>
10- #
11- sudo : false
12-
131language : php
142
153services :
16- - memcached
174 - redis-server
18- before_script :
19- - |
20- if [[ $TRAVIS_PHP_VERSION = "hhv"* ]]; then
21- cat var/php/conf/phpfastcache.ini >> /etc/hhvm/php.ini
22- else
23- phpenv config-add var/php/conf/phpfastcache.ini
24- fi
255
266php :
277 - 7.0
288 - 7.1
299 - 7.2
30- - nightly
31- - hhvm
3210
3311matrix :
34- fast_finish : true
35- allow_failures :
36- - php : nightly
37- - php : hhvm
12+ include :
13+ - php : 7.1
14+ env : SYMFONY_VERSION="3.4.*"
15+ - php : 7.2
16+ env : SYMFONY_VERSION="3.4.*"
17+ - php : 7.0
18+ env : COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak"
19+
20+ sudo : false
21+
22+ cache :
23+ directories :
24+ - $HOME/.composer/cache
25+
26+ env :
27+ global :
28+ - SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
29+
30+ before_install :
31+ - phpenv config-rm xdebug.ini || true
32+ - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
33+ - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv rehash; fi;
34+ - composer self-update
35+ - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony:${SYMFONY_VERSION}; fi;
3836
3937install :
40- - ./bin/ci/install_dependencies.sh
38+ - composer update --no-interaction --no-progress $COMPOSER_FLAGS
4139
42- script :
43- - php -f tests/SyntaxChecker.test.php
40+ before_script :
41+ - mkdir Phpfastcache && ln -s ../ Phpfastcache/PhpfastcacheBundle
Original file line number Diff line number Diff line change 3030 "symfony/framework-bundle" : " ^3.4|^4.0" ,
3131 "symfony/console" : " ^3.4|^4.0" ,
3232 "symfony/dependency-injection" : " ^3.4|^4.0" ,
33+ "symfony/http-foundation" : " ^3.4 || ^4.0" ,
34+ "symfony/yaml" : " ^3.4 || ^4.0" ,
3335 "phpfastcache/phpfastcache" : " ^7.0" ,
3436 "php" : " ^7.0" ,
3537 "ext-mbstring" : " *" ,
3638 "ext-json" : " *"
3739 },
40+ "require-dev" : {
41+ "phpunit/phpunit" : " ^6.2 || ^7.1" ,
42+ "predis/predis" : " ^1.0" ,
43+ "symfony/browser-kit" : " ^3.4 || ^4.0" ,
44+ "symfony/console" : " ^3.4 || ^4.0" ,
45+ "symfony/phpunit-bridge" : " ^3.4 || ^4.0" ,
46+ "symfony/profiler-pack" : " ^1.0" ,
47+ "symfony/twig-bundle" : " ^3.4 || ^4.0"
48+ },
49+ "config" : {
50+ "bin-dir" : " bin/" ,
51+ "sort-packages" : true
52+ },
3853 "suggest" : {
3954 "symfony/web-profiler-bundle" : " To use the data collector."
4055 },
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+
3+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/6.1/phpunit.xsd"
5+ colors =" true"
6+ bootstrap =" vendor/autoload.php"
7+ >
8+ <php >
9+ <ini name =" error_reporting" value =" -1" />
10+ <env name =" SHELL_VERBOSITY" value =" -1" />
11+ </php >
12+
13+ <testsuites >
14+ <testsuite name =" PhpfastcacheBundle Test Suite" >
15+ <directory >./Tests</directory >
16+ </testsuite >
17+ </testsuites >
18+
19+ <logging >
20+ <log type =" coverage-text" />
21+ <log type =" coverage-clover" target =" ./build/coverage/log/coverage.xml" />
22+ </logging >
23+
24+ <filter >
25+ <whitelist >
26+ <directory >./</directory >
27+ <exclude >
28+ <directory >./Tests</directory >
29+ <directory >./vendor</directory >
30+ </exclude >
31+ </whitelist >
32+ </filter >
33+ </phpunit >
Original file line number Diff line number Diff line change 1+ <?php
2+ /*
3+ * This file is part of the SncRedisBundle package.
4+ *
5+ * (c) Henrik Westphal <henrik.westphal@gmail.com>
6+ *
7+ * For the full copyright and license information, please view the LICENSE
8+ * file that was distributed with this source code.
9+ */
10+ namespace Phpfastcache \PhpfastcacheBundle \Tests \Service ;
11+ use PHPUnit \Framework \TestCase ;
12+
13+ class PhpfastcacheTest extends TestCase
14+ {
15+
16+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments