Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Move the composer validate from Travis CI to GitHub actions #840

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,35 @@ on:
name: CI

jobs:
composer-validate:
name: Composer Validate

runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- 7.3

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-version }}

- name: Composer Validate
run: composer validate --no-check-all --no-check-lock --strict

static-analysis:
name: Static Analysis

runs-on: ubuntu-latest

needs: composer-validate

strategy:
matrix:
command:
Expand Down
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ install:
composer show;

script:
- >
echo;
echo "Validating the composer.json";
composer validate --no-check-all --no-check-lock --strict;

- >
echo;
echo "Linting all PHP files";
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
([#776](https://github.com/MyIntervals/emogrifier/pull/776))

### Changed
- Move the code quality checks from Travis CI to GitHub actions
- Move continuous integration from Travis CI to GitHub actions
([#832](https://github.com/MyIntervals/emogrifier/pull/832),
[#834](https://github.com/MyIntervals/emogrifier/pull/834),
[#838](https://github.com/MyIntervals/emogrifier/pull/838),
[#839](https://github.com/MyIntervals/emogrifier/pull/839))
[#839](https://github.com/MyIntervals/emogrifier/pull/839),
[#840](https://github.com/MyIntervals/emogrifier/pull/840))
- Upgrade to Symfony 5.0
([#822](https://github.com/MyIntervals/emogrifier/pull/820))
- Clean up the folder structure and autoloading configuration
Expand Down