forked from TruCopilot/phpfastcache
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (44 loc) · 1.01 KB
/
.travis.yml
File metadata and controls
50 lines (44 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# This file is part of phpFastCache.
#
# @license MIT License (MIT)
#
# For full copyright and license information, please see the docs/CREDITS.txt file.
#
# @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
# @author Georges.L (Geolim4) <contact@geolim4.com>
#
sudo: false
language: php
services:
- memcached
# - redis-server
before_script:
- |
if [[ $TRAVIS_PHP_VERSION = "hhv"* ]]; then
cat var/php/conf/phpfastcache.ini >> /etc/hhvm/php.ini
else
phpenv config-add var/php/conf/phpfastcache.ini
fi
php:
# - 5.3
# - 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: nightly
- php: hhvm
install:
- ./bin/ci/install_dependencies.sh
script:
- php -f tests/SyntaxChecker.test.php
- php -f tests/Autoload.test.php
- php -f tests/NewCacheInstance.test.php
- php -f tests/Psr6InterfaceImplements.test.php
- php -f tests/AbstractProxy.test.php
- php -f tests/AttachingDetachingMethods.test.php