From 1682d086168728d5ff6998dab3ce99fbfb2e02b5 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Sun, 7 Jun 2020 17:44:31 +0100 Subject: [PATCH 1/2] Ignore more files when generating archives Continuation of #13 --- .gitattributes | 2 ++ composer.json | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.gitattributes b/.gitattributes index 2d2336d..dec5f8d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,5 @@ /.gitignore export-ignore /.travis.yml export-ignore /phpunit.xml.dist export-ignore +/build.xml export-ignore +/.styleci.yml export-ignore diff --git a/composer.json b/composer.json index 13217b9..1a2e09e 100644 --- a/composer.json +++ b/composer.json @@ -35,5 +35,17 @@ "Giggsey\\Locale\\Tests\\": "tests/", "Giggsey\\Locale\\Build\\": "build/Build/" } + }, + "archive": { + "exclude": [ + "build/", + "tests/", + ".gitattributes", + ".gitignore", + ".styleci.yml", + ".travis.yml", + "build.xml", + "phpunit.xml.dist" + ] } } From 13e49e09a490fca890f6aecca3339ef8da404016 Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Sun, 7 Jun 2020 17:45:22 +0100 Subject: [PATCH 2/2] Test with coverage on PHP 7.4 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4cced0d..8d1fba2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ matrix: - php: 7.1 - php: 7.2 - php: 7.3 - env: COVERAGE_FLAGS=" --coverage-text --coverage-clover build/logs/clover.xml" - - php: 7.4snapshot + - php: 7.4 + env: COVERAGE_FLAGS\=" --coverage-text --coverage-clover build/logs/clover.xml" before_install: - travis_retry wget https://scrutinizer-ci.com/ocular.phar