-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
42 lines (36 loc) · 1018 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
42
dist: trusty
sudo: required
language: php
env:
global:
# For functional tests
- COMPOSE_FILE="doc/docker/base-dev.yml:doc/docker/selenium.yml"
- APP_ENV=behat
- APP_DEBUG=1
- EZPLATFORM_REPO="https://github.com/ezsystems/ezplatform.git"
matrix:
include:
# 7.3
- name: "Code Style Check"
php: 7.3
install: travis_retry composer install --prefer-dist --no-interaction --no-suggest
script: ./bin/php-cs-fixer fix -v --dry-run --show-progress=estimating
# test only master (+ Pull requests)
branches:
only:
- master
- /^\d.\d+$/
- "/^feature-/"
# reduce depth (history) of git checkout
git:
depth: 30
# disable mail notifications
notifications:
email: false
before_install:
# Disable XDebug for performance
- phpenv config-rm xdebug.ini
# Get latest composer build
- travis_retry composer selfupdate
# Avoid memory issues on composer install
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini