forked from willdurand/Hateoas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (24 loc) · 796 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- '7.2'
- '7.3'
env:
- SYMFONY_VERSION=^3.4 JMS_VERSION=^2.1
- SYMFONY_VERSION=^4.0 JMS_VERSION=^2.1
- SYMFONY_VERSION=^3.4 JMS_VERSION=^3.0
- SYMFONY_VERSION=^4.0 JMS_VERSION=^3.0
before_install:
- composer require --no-update jms/serializer "$JMS_VERSION"
- composer require --no-update symfony/expression-language "$SYMFONY_VERSION"
- composer require --no-update --dev symfony/yaml "$SYMFONY_VERSION"
- composer require --no-update --dev symfony/routing "$SYMFONY_VERSION"
- composer require --no-update --dev symfony/dependency-injection "$SYMFONY_VERSION"
install:
- composer install --no-interaction --prefer-dist
- bin/phpcs
script:
- ./bin/phpunit --coverage-text