forked from step2dev/iconTV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (35 loc) · 855 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
43
44
# Config file for https://travis-ci.org/
dist: trusty
language: php
# Define the php versions against we want to test our code
php:
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- nightly
# Note: Code coverage requires php-xDebug extension enabled on CI server
install:
- travis_retry composer install --no-interaction --no-suggest
# Testing the app (see phpunit.xml) for configs, generating Code Coverage report
script:
- composer test -- --coverage-clover=coverage.xml
- phpunit --version
- "phpunit -c ./phpunit.xml"
#after_script:
after_success:
# Submit coverage report to https://codecov.io
- bash <(curl -s https://codecov.io/bash)
#after_failure:
# Monitor only these branches
branches:
only:
- master
- dev
# You can delete the cache using travis-ci web interface
cache:
directories:
- $HOME/.composer/cache