forked from PHPSocialNetwork/phpfastcache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (39 loc) · 807 Bytes
/
.travis.yml
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
#
# 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) <[email protected]> http://www.phpfastcache.com
# @author Georges.L (Geolim4) <[email protected]>
#
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 bin/ci/run_tests.php