-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
25 lines (21 loc) · 862 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
language: php
php:
- 5.6
- 7.0
- 7.1
- hhvm
branches:
only: master
install:
- if [[ $TRAVIS_PHP_VERSION = 5.6 ]]; then printf "\n" | pecl install apcu-4.0.11; fi
- if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then printf "\n" | pecl install apcu; fi
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-rm xdebug.ini; fi
- if [[ $TRAVIS_PHP_VERSION = 'hhvm' ]]; then mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d; fi
- phpenv config-add docker/php/config/php.ini
- composer self-update
- composer install --prefer-source --optimize-autoloader
script:
- bin/benchmark --iteration 100
- bin/benchmark --horizontal-complexity 4 --iteration 100
- bin/benchmark --vertical-complexity 4 --iteration 100
- bin/benchmark --horizontal-complexity 4 --vertical-complexity 4 --iteration 100