diff options
author | Michal Čihař <michal@cihar.com> | 2017-10-02 11:44:15 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-10-02 11:44:15 +0200 |
commit | 10cfa68bab822ddf1c0c44fb11208bdbb996f923 (patch) | |
tree | 3c4078cfbfd3c1336f64983142df3f1a2a5ab495 | |
parent | a78e611b2ebec7ffc34ec11806e3cf7b39f6252b (diff) | |
download | sql-parser-10cfa68bab822ddf1c0c44fb11208bdbb996f923.zip sql-parser-10cfa68bab822ddf1c0c44fb11208bdbb996f923.tar.gz sql-parser-10cfa68bab822ddf1c0c44fb11208bdbb996f923.tar.bz2 |
Simplify variables definition
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 141eb31..5cdbb22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,6 @@ php: - "hhvm-3.18" - "nightly" -env: - matrix: - - MOTRANSLATOR=no DOCS=no - matrix: fast_finish: true allow_failures: @@ -25,7 +21,7 @@ matrix: - php: "7.1" env: DOCS=yes - php: "7.0" - env: MOTRANSLATOR=yes + env: REQUIRE="phpmyadmin/motranslator:^3.0 " - dist: precise php: "5.3" @@ -33,7 +29,7 @@ sudo: false install: - composer install - - if [ "$MOTRANSLATOR" = "yes" ] ; then composer require phpmyadmin/motranslator:^3.0 ; fi + - if [ -n "$REQUIRE" ] ; then composer require "$REQUIRE" ; fi after_success: - bash <(curl -s https://codecov.io/bash) @@ -43,5 +39,5 @@ cache: - $HOME/.composer/cache script: - - if [ "$DOCS" = "no" ] ; then ./vendor/bin/phpunit --configuration phpunit.xml ; fi + - if [ "$DOCS" != "yes" ] ; then ./vendor/bin/phpunit --configuration phpunit.xml ; fi - if [ "$DOCS" = "yes" ] ; then ./vendor/bin/apigen generate --destination doc src/ ; fi |