Skip to content

Commit f00eed0

Browse files
committed
Add Travis configuration
1 parent f2cbb22 commit f00eed0

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: php
2+
php:
3+
- 7.1
4+
- 7.2
5+
- 7.3
6+
7+
before_script:
8+
- if php --ri xdebug >/dev/null; then phpenv config-rm xdebug.ini; fi
9+
before_install:
10+
- composer self-update
11+
- composer global require "hirak/prestissimo:^0.3"
12+
install:
13+
- composer install --no-interaction
14+
script:
15+
- ./vendor/bin/phpcs src
16+
- ./vendor/bin/phpstan analyze src
17+
cache:
18+
directories:
19+
- $HOME/.composer/cache

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# phpstan-drupal
22

3+
[![Build Status](https://travis-ci.com/mglaman/phpstan-drupal.svg?branch=master)](https://travis-ci.com/mglaman/phpstan-drupal)
4+
35
Extension for PHPStan to allow analysis of Drupal code.
46

57
## Usage

0 commit comments

Comments
 (0)