forked from twigphp/Twig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.29 KB
/
.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
38
39
40
41
42
43
language: php
cache:
directories:
- vendor
- extra/*/vendor
- $HOME/.composer/cache/files
env:
global:
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
before_install:
- phpenv config-rm xdebug.ini || return 0
install:
- travis_retry composer install
- (cd extra/cssinliner-extra && travis_retry composer install)
- (cd extra/html-extra && travis_retry composer install)
- (cd extra/inky-extra && travis_retry composer install)
- (cd extra/intl-extra && travis_retry composer install)
- (cd extra/markdown-extra && travis_retry composer install)
- (cd extra/string-extra && travis_retry composer install)
script:
- ./vendor/bin/simple-phpunit
- (cd extra/cssinliner-extra && ./vendor/bin/simple-phpunit)
- (cd extra/html-extra && ./vendor/bin/simple-phpunit)
- (cd extra/inky-extra && ./vendor/bin/simple-phpunit)
- (cd extra/intl-extra && ./vendor/bin/simple-phpunit)
- (cd extra/markdown-extra && ./vendor/bin/simple-phpunit)
- (cd extra/string-extra && ./vendor/bin/simple-phpunit)
jobs:
fast_finish: true
include:
- php: 7.2
- php: 7.3
- php: 7.4snapshot
# Drupal does not support 3.x yet
#- stage: integration tests
# php: 7.3
# script: ./drupal_test.sh