forked from phalcon/incubator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 950 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
language: php
env:
- PHALCON_VERSION="2.0.x"
- PHALCON_VERSION="phalcon-v2.0.3"
- PHALCON_VERSION="phalcon-v2.0.2"
- PHALCON_VERSION="phalcon-v2.0.1"
- PHALCON_VERSION="phalcon-v2.0.0"
install:
- tests/memcached.sh
before_script:
- ./tests/install-php-extension.sh ${PHALCON_VERSION}
- php -r 'echo \Phalcon\Version::get()."\n";'
- composer self-update
- composer update
- mysql -e 'create database eager_loading_tests charset=utf8mb4 collate=utf8mb4_unicode_ci;'
- mysql -uroot eager_loading_tests < tests/Phalcon/Mvc/Model/EagerLoading/resources/schema.sql
php:
- 5.3
- 5.4
- 5.5
- 5.6
script:
- php vendor/bin/phpcs --standard=PSR2 --encoding=utf-8 Library/
- phpunit --configuration tests/phpunit.xml.dist --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
services:
- memcached