Skip to content

Commit a1aa396

Browse files
authored
Merge pull request #13 from ebanx/add-travis-yml
[t:DCWIbRRX] added travis integration
2 parents 7863686 + 0b25c50 commit a1aa396

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
dist: trusty
2+
sudo: required
3+
4+
language: php
5+
6+
php:
7+
- 7.1
8+
9+
install:
10+
- composer validate --no-check-all --no-check-publish
11+
- composer install
12+
13+
script: ./vendor/bin/phpunit --coverage-clover=coverage.xml Test/
14+
15+
after_success:
16+
- bash <(curl -s https://codecov.io/bash)
17+
18+
cache:
19+
apt: true
20+
directories:
21+
- $TRAVIS_BUILD_DIR/vendor
22+
- $HOME/.composer/cache

0 commit comments

Comments
 (0)