forked from yoanm/symfony-jsonrpc-http-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 854 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
38
39
40
41
language: php
php:
- '7.2'
- '7.3'
- '7.4'
env:
global:
- CI: 'true'
- TEST_OUTPUT_STYLE: 'pretty'
- PHPCS_REPORT_STYLE: 'full'
- COMPOSER_OPTIONS: '--optimize-autoloader'
jobs:
- SYMFONY_VERSION: '~4.0'
- SYMFONY_VERSION: '~5.0'
jobs:
fast_finish: true
before_install:
# remove xdebug to speed up build
- phpenv config-rm xdebug.ini || true
install:
- composer require symfony/http-foundation:$SYMFONY_VERSION symfony/http-kernel:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION symfony/event-dispatcher:$SYMFONY_VERSION symfony/routing:$SYMFONY_VERSION
- make build
script:
- make test-technical
- make test-functional
cache:
directories:
- $HOME/.composer
- vendor
branches:
except:
- /.*\-dev$/
- /^dev-.*$/
- /.*\-patch(\-\d+)?$/