Skip to content

Commit aeb2b00

Browse files
committed
Added Travis CI
- Created Travis CI configuration - Added build status badge to README.md
1 parent f130b37 commit aeb2b00

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.travis.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
jobs:
4+
fast_finish: true
5+
include:
6+
- php: '7.3'
7+
- php: '7.4'
8+
- php: '8.0'
9+
- php: nightly
10+
allow_failures:
11+
- php: nightly
12+
13+
install:
14+
- pecl install ast
15+
- phpenv config-rm xdebug.ini
16+
- composer validate --strict
17+
- composer install --ignore-platform-reqs --no-interaction
18+
19+
script:
20+
- vendor/bin/phan
21+
- vendor/bin/phpunit --testdox

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Uncomplicated XML
2+
[![Build Status](https://travis-ci.com/josemmo/uxml.svg?branch=main)](https://travis-ci.com/josemmo/uxml)
23
[![Latest Version](https://img.shields.io/packagist/v/josemmo/uxml)](https://packagist.org/packages/josemmo/uxml)
34
[![Minimum PHP Version](https://img.shields.io/packagist/php-v/josemmo/uxml)](#installation)
45
[![License](https://img.shields.io/github/license/josemmo/uxml)](LICENSE)

0 commit comments

Comments
 (0)