Skip to content

Commit

Permalink
Merge branch 'release/6.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
hadimansouri committed Mar 15, 2020
2 parents 5bfd0f3 + 804065f commit 57b20ff
Showing 1 changed file with 21 additions and 70 deletions.
91 changes: 21 additions & 70 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,87 +1,38 @@
language: php
php:
- '7.2'

services:
- mysql
- '7.4'

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
- travis_retry composer require codeclimate/php-test-reporter --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:
- php run.php
# CODECLIMATE_REPO_TOKEN reqired
- vendor/bin/test-reporter
- ./vendor/bin/phpunit

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)

notifications:
email:
- mostafabarmshory+eeqna5hwqenxwczq7lax@boards.trello.com
on_success: never
on_failure: always
on_error: always

language: php
php:
- '7.2'

services:
- mysql

git:
depth: 1

mysql:
database: test
username: root
encoding: utf8
#
# Codecove
#
# Submit coverage report to codecov.io
- bash <(curl -s https://codecov.io/bash)

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
- travis_retry composer require codeclimate/php-test-reporter --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
#
# Coveralls
#
# Submit coverage report to Coveralls servers, see .coveralls.yml
- travis_retry composer require --dev php-coveralls/php-coveralls --no-interaction
- travis_retry php vendor/bin/php-coveralls -v
- travis_retry composer remove --dev php-coveralls/php-coveralls --no-interaction

script:
- php run.php
# CODECLIMATE_REPO_TOKEN reqired
- vendor/bin/test-reporter

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)
#
# Code Cliemet
#
- travis_retry composer require --dev codeclimate/php-test-reporter --no-interaction
- travis_retry vendor/bin/test-reporter
- travis_retry composer remove --dev codeclimate/php-test-reporter --no-interaction

notifications:
email:
Expand All @@ -93,4 +44,4 @@ notifications:
branches:
only:
- master
- develop
- develop

0 comments on commit 57b20ff

Please sign in to comment.