-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
53 lines (48 loc) · 1.61 KB
/
Copy path.travis.yml
File metadata and controls
53 lines (48 loc) · 1.61 KB
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
44
45
46
47
48
49
50
51
52
53
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 5.5
services:
- docker
- php: 5.6
services:
- docker
- php: 7.0
services:
- docker
- php: hhvm
- php: 5.5
env: COMPOSER_FLAGS="--prefer-lowest"
services:
- docker
- php: 7.0
env: SYMFONY_VERSION=2.7.*
services:
- docker
- php: 7.0
env: SYMFONY_VERSION=2.8.*
services:
- docker
- php: 7.0
env: SYMFONY_VERSION=3.0.*
services:
- docker
before_install:
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then docker run -d --name boulder --net host acmephp/testing-ca; fi;
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi;
- composer self-update
- composer global require hirak/prestissimo
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
install:
- composer update --no-interaction --prefer-dist $COMPOSER_FLAGS
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then rm -rf features/fixtures/TestApp/cache/*; fi;
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then features/fixtures/TestApp/console acmephp:server:start; fi;
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then docker run --rm --net host martin/wait -c localhost:4000 -t 120; fi;
script:
- bin/phpunit
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then bin/behat --format progress; fi;