forked from willdurand/BazingaJsTranslationBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 879 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
37
language: php
php:
- 7.1
- 7.2
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- COMPOSER_MEMORY_LIMIT=-1
- composer self-update
- if [ "$STABILITY" = "dev" ]; then composer config minimum-stability dev; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
install:
- composer install
script:
- vendor/bin/phpunit --coverage-text
- phantomjs Resources/js/run-qunit.js file://`pwd`/Resources/js/index.html
- phantomjs Resources/js/run-qunit.js file://`pwd`/Resources/js/index-with-es5-shim.html
matrix:
fast_finish: true
include:
- php: 7.2
env: SYMFONY_VERSION='^3.4.0'
- php: 7.2
env: SYMFONY_VERSION='^4.0'
- php: 7.2
env: SYMFONY_VERSION='^5.0'
- php: 7.2
env: STABILITY=dev