forked from PHPSocialNetwork/phpfastcache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (48 loc) · 1.01 KB
/
.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
46
47
48
49
50
51
52
53
54
55
#
# 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
dist: trusty
language: php
services:
- memcached
- redis-server
- couchdb
- mongodb
before_script:
- |
if [[ $TRAVIS_PHP_VERSION = "hhv"* ]]; then
cat bin/ci/php_phpfastcache.ini >> /etc/hhvm/php.ini
else
phpenv config-add bin/ci/php_phpfastcache.ini
pecl channel-update pecl.php.net
pecl install -f mongodb-stable
fi
- sleep 15
- mongo pfc_test --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
php:
# - 5.3
# - 5.4
# - 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 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