Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 3753920

Browse files
committed
#29 Integrate into Travis
Provide example .travis.yml to verify Travis integration.
1 parent 9035359 commit 3753920

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: php
2+
3+
php:
4+
- '7.0.17'
5+
- '7.0'
6+
- '7.1.2'
7+
- nightly
8+
9+
before_script:
10+
- travis_retry curl -s http://getcomposer.org/installer | php
11+
- travis_retry php composer.phar install -n
12+
13+
# Explicitly use the phpunit from composer, not any system-wide found
14+
script:
15+
- vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml tests
16+
17+
after_success:
18+
- php vendor/bin/codacycoverage clover coverage.xml

0 commit comments

Comments
 (0)