Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit 3da686c

Browse files
authored
Merge pull request #56 from niels-nijens/testsuite
Add testsuite
2 parents 09441bf + d1af8a9 commit 3da686c

4 files changed

Lines changed: 861 additions & 624 deletions

File tree

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: php
2+
3+
sudo: false
4+
5+
matrix:
6+
include:
7+
- php: 5.6
8+
- php: 7.0
9+
- php: 7.0
10+
env: SYMFONY_VERSION=2.8.*
11+
- php: 7.0
12+
env: SYMFONY_VERSION=3.0.*
13+
- php: 7.0
14+
env: SYMFONY_VERSION=3.1.*
15+
- php: 7.1
16+
17+
before_install: composer selfupdate
18+
19+
install:
20+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; composer update symfony/*; fi;
21+
- if [ "$SYMFONY_VERSION" = "" ]; then composer install; fi;
22+
23+
before_script: mkdir -p build/logs
24+
25+
script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
26+
27+
after_script: vendor/bin/coveralls -v

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"twig/twig": "^1.24"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^4.8"
26+
"phpunit/phpunit": "^4.8",
27+
"satooshi/php-coveralls": "^1.0"
2728
},
2829
"autoload": {
2930
"psr-4": {

0 commit comments

Comments
 (0)