From 2e94f4ad41c5152ca1a9b9083b248c11a5e9e35d Mon Sep 17 00:00:00 2001 From: Fonata Date: Sat, 23 Feb 2019 12:53:58 +0100 Subject: [PATCH] Add composer validation to CI; Also: add branch alias for `dev-master` Fix #159 --- .travis.yml | 1 + composer.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index e3ceefd..fc7497b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ php: - 5.5 script: + - composer validate - phpunit --version - phpunit --configuration tests/phpunit.xml diff --git a/composer.json b/composer.json index cf6af5a..4015f51 100644 --- a/composer.json +++ b/composer.json @@ -40,6 +40,11 @@ "suggest": { "illuminate/support": "Fluent array interface for map functions" }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "support": { "issues": "https://github.com/parsecsv/parsecsv-for-php/issues", "source": "https://github.com/parsecsv/parsecsv-for-php"