Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenglish7 authored Feb 4, 2018
1 parent 1947021 commit 1b47afb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
cache:
directories:
- vendor
- $HOME/.cache/composer
language: php
php:
- 7.0.27
- 7.1.13
# - 7.1.14
- 7.2.1
# - 7.2.2
- nightly
os:
- windows
- linux
matrix:
fast_finish: true
allow_failures:
- php: nightly
sudo: false
install:
- travis_retry composer install --no-interaction
- wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
- chmod +x coveralls.phar
- php coveralls.phar --version
before_script:
- mkdir -p build/logs
- ls -al
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- travis_retry php coveralls.phar -v

0 comments on commit 1b47afb

Please sign in to comment.