From 297471fa5aa241967aa62e7853ac7370433f6267 Mon Sep 17 00:00:00 2001 From: phanna Date: Sat, 21 Nov 2020 16:11:59 +0700 Subject: [PATCH] update Github Action --- .github/workflows/php.yml | 5 +---- .travis.yml | 13 ------------- readme.md | 3 ++- 3 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 7a6552e..3450f08 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -30,8 +30,5 @@ jobs: if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest - # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" - # Docs: https://getcomposer.org/doc/articles/scripts.md - - name: Run test suite - run: composer run-script test + run: vendor/bin/phpunit diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e0f2bf8..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: php - -php: - - 7.0 - - 7.1 - - 7.2 - -before_script: - - composer install --no-interaction - -cache: - directories: - - vendor \ No newline at end of file diff --git a/readme.md b/readme.md index 5c69068..6341109 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,7 @@ # The PHP libray for convert datetime into Khmer -[![Build Status](https://travis-ci.org/phannaly/php-datetime-khmer.svg?branch=master)](https://travis-ci.org/phannaly/php-datetime-khmer) [![StyleCI](https://github.styleci.io/repos/165952860/shield?branch=master)](https://github.styleci.io/repos/165952860) +[![Actions Status](https://github.com/phannaly/php-datetime-khmer/workflows/Build/badge.svg)](https://github.com/phannaly/php-datetime-khmer/actions) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) This is a small package for converting datetime to Khmer language.