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

Commit d59a027

Browse files
committed
Add Travis CI configuration
1 parent ff86863 commit d59a027

1 file changed

Lines changed: 27 additions & 0 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

0 commit comments

Comments
 (0)