-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (46 loc) · 1.07 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
# Project language
language: php
# Allows use container-based infrastructure
sudo: required
# Start services
services:
- postgresql
- rabbitmq
- docker
# Customize addons
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.4
# Cache composer packages so "composer install" is faster
cache:
directories:
- $HOME/.composer/cache/files
# Matrix to test in every php & OS version
matrix:
# Fast finish allows to set the build as "finished" even if the "allow_failures" matrix elements are not finished yet.
fast_finish: true
include:
- name: "7.3 Centos7"
php: 7.3
distribution: centos
version: 7
# Define an environment variable
env:
- SYMFONY_VERSION="4.3.*" DB=postgresql
# Install composer dependencies,
# Create schema and fixtures
install:
- export APP_ENV=test
- phpenv config-rm xdebug.ini
- composer install
- phpenv rehash
# Run script
script:
- ./vendor/bin/simple-phpunit
- ./vendor/bin/phpcs --version
- ./vendor/bin/phpcs
notifications:
email: false
slack: griidc:JosH6istHStJ7cm24B8CC58F