Travis::getConfiguration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Travis CI plugin for HiDev.
4
 *
5
 * @link      https://github.com/hiqdev/hidev-travis
6
 * @package   hidev-travis
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\travis\components;
12
13
/**
14
 * Travis CI.
15
 * @author Andrii Vasyliev <[email protected]>
16
 */
17
class Travis extends \hidev\base\Component
18
{
19
    public $before_install;
20
    public $install;
21
    public $before_script;
22
    public $script;
23
    public $after_success;
24
    public $after_failure;
25
    public $after_script;
26
27
    public function getConfiguration()
28
    {
29
        return $this->take('.travis.yml');
30
    }
31
}
32