Full enable of pgsql in CI
This commit is contained in:
parent
504d376f84
commit
068460540c
10
.travis.yml
10
.travis.yml
@ -58,7 +58,7 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: nightly
|
- php: nightly
|
||||||
- env: DB=postgresql
|
#- env: DB=postgresql
|
||||||
# TODO
|
# TODO
|
||||||
#- env: DB=sqlite
|
#- env: DB=sqlite
|
||||||
|
|
||||||
@ -261,18 +261,16 @@ script:
|
|||||||
echo "Checking PHP syntax errors"
|
echo "Checking PHP syntax errors"
|
||||||
# Ensure we catch errors
|
# Ensure we catch errors
|
||||||
set -e
|
set -e
|
||||||
#parallel-lint --exclude htdocs/includes --blame .
|
parallel-lint --exclude htdocs/includes --blame .
|
||||||
set +e
|
set +e
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# TODO: dev/* checks
|
|
||||||
|
|
||||||
- |
|
- |
|
||||||
echo "Checking coding style"
|
echo "Checking coding style"
|
||||||
# Ensure we catch errors
|
# Ensure we catch errors
|
||||||
set -e
|
set -e
|
||||||
# Exclusions are defined in the ruleset.xml file
|
# Exclusions are defined in the ruleset.xml file
|
||||||
#phpcs -s -n -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 .
|
phpcs -s -n -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 .
|
||||||
set +e
|
set +e
|
||||||
echo
|
echo
|
||||||
|
|
||||||
@ -280,8 +278,6 @@ script:
|
|||||||
|
|
||||||
# TODO: Check CSS (csslint?)
|
# TODO: Check CSS (csslint?)
|
||||||
|
|
||||||
# TODO: check SQL syntax (pgsanity?)
|
|
||||||
|
|
||||||
- |
|
- |
|
||||||
echo "Upgrading Dolibarr"
|
echo "Upgrading Dolibarr"
|
||||||
# Ensure we catch errors
|
# Ensure we catch errors
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user