diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-11-18 12:11:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-11-18 22:53:48 +0300 |
commit | 05ea79929aa099d25b543f4a86db721f5f7e700e (patch) | |
tree | ea79ae74ce0aef63f5503a5c4f4258e622be354a /.travis.yml | |
parent | 61e6b22b12cb66bd3bb6bc1268228ea7d5e2519b (diff) | |
download | hercules-05ea79929aa099d25b543f4a86db721f5f7e700e.tar.gz hercules-05ea79929aa099d25b543f4a86db721f5f7e700e.tar.bz2 hercules-05ea79929aa099d25b543f4a86db721f5f7e700e.tar.xz hercules-05ea79929aa099d25b543f4a86db721f5f7e700e.zip |
Add phpsqllint for check sql queries
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 6671b08bc..7629618b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,14 @@ matrix: - env: ignore=this - compiler: false include: + - language: php + env: sqlcheck=true + script: + - travis_retry composer self-update + - cd tools/php-sqllint + - travis_retry composer install --no-interaction --prefer-source + - cd ../.. + - ./tools/checksql.sh - compiler: gcc env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug CC=gcc-6 --disable-manager --enable-Werror --enable-packetver=20191113 --enable-packetver-re --enable-buildbot" HPM="1" addons: |