forked from K-Phoen/rulerz-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (23 loc) · 678 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
language: php
# faster builds on docker-container setup
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.1
env: SYMFONY_VERSION=3.4.* COMPOSER_FLAGS='--prefer-lowest'
- env: SYMFONY_VERSION=4.0.*
php:
- 7.2
before_install:
# disable xdebug since we don't use code-coverage for now
- phpenv config-rm xdebug.ini
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/validator:${SYMFONY_VERSION}" --no-update; fi;
install:
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
script: make tests