Skip to content

Commit

Permalink
New system release
Browse files Browse the repository at this point in the history
Merge branch 'release/2.1.10'
  • Loading branch information
maso committed Dec 7, 2017
2 parents 7261300 + 5794707 commit 08d3bc4
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
service_name: travis-ci
coverage_clover: tests/clover.xml
json_path: tests/coveralls-upload.json
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
language: php
php:
- '5.6'
- '7.1'

services:
- mysql

git:
depth: 1

mysql:
database: test
username: root
encoding: utf8

before_install:
- sudo apt-get update > /dev/null
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'

install:
# Install composer packages, will also trigger dump-autoload
- travis_retry composer install --no-interaction
# Install coveralls.phar
- 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

script:
- cd tests
- php run.php
- cd ..

after_success:
# Submit coverage report to Coveralls servers, see .coveralls.yml
- travis_retry php coveralls.phar -v
# Submit coverage report to codecov.io
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 08d3bc4

Please sign in to comment.