-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (39 loc) · 1.09 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
# Config file for https://travis-ci.org/
# Validate this file here - http://lint.travis-ci.org/
# Tell Travis CI we are using PHP
language: php
# Versions of PHP you want your project run with.
php:
- 7.1
# The platforms you wants to test on
os:
- linux
# Tell Travis CI to monitor only 'master' branch
branches:
only: master
# We don't want to run linux commands as super user
sudo: false
# You can delete cache using travis-ci web interface
cache:
directories:
- $HOME/.php-cs-fixer
- $HOME/.cache/composer
- vendor
# Commands to be run before your environment runs.
before_script:
- travis_retry make ci_before_build
# Commands you want to run that will verify your build.
script:
- make ci_build
after_script:
# Commands to be run after your environment runs.
- travis_retry make ci_after_build
# allow_failures: Allow this build to fail under the specified environments.
# fast_finish: If your build fails do not continue trying to build, just stop.
matrix:
fast_finish: true
# Configure email notifications
notifications:
email:
on_success: never
on_failure: always