diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r--[-rwxr-xr-x] | application/HttpUtils.php | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | application/LinkUtils.php | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | application/Url.php | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | plugins/qrcode/qrcode.css | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | tpl/tools.html | 0 |
7 files changed, 16 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index a3038c13..7408b2e2 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -11,4 +11,5 @@ install: | |||
11 | - composer install | 11 | - composer install |
12 | script: | 12 | script: |
13 | - make clean | 13 | - make clean |
14 | - make check_permissions | ||
14 | - make test | 15 | - make test |
@@ -16,7 +16,7 @@ BIN = vendor/bin | |||
16 | PHP_SOURCE = index.php application tests plugins | 16 | PHP_SOURCE = index.php application tests plugins |
17 | PHP_COMMA_SOURCE = index.php,application,tests,plugins | 17 | PHP_COMMA_SOURCE = index.php,application,tests,plugins |
18 | 18 | ||
19 | all: static_analysis_summary test | 19 | all: static_analysis_summary check_permissions test |
20 | 20 | ||
21 | ## | 21 | ## |
22 | # Concise status of the project | 22 | # Concise status of the project |
@@ -99,6 +99,20 @@ mess_detector_summary: mess_title | |||
99 | done; | 99 | done; |
100 | 100 | ||
101 | ## | 101 | ## |
102 | # Checks source file & script permissions | ||
103 | ## | ||
104 | check_permissions: | ||
105 | @echo "----------------------" | ||
106 | @echo "Check file permissions" | ||
107 | @echo "----------------------" | ||
108 | @for file in `git ls-files`; do \ | ||
109 | if [ -x $$file ]; then \ | ||
110 | errors=true; \ | ||
111 | echo "$${file} is executable"; \ | ||
112 | fi \ | ||
113 | done; [ -z $$errors ] || false | ||
114 | |||
115 | ## | ||
102 | # PHPUnit | 116 | # PHPUnit |
103 | # Runs unitary and functional tests | 117 | # Runs unitary and functional tests |
104 | # Generates an HTML coverage report if Xdebug is enabled | 118 | # Generates an HTML coverage report if Xdebug is enabled |
diff --git a/application/HttpUtils.php b/application/HttpUtils.php index e2c1cb47..e2c1cb47 100755..100644 --- a/application/HttpUtils.php +++ b/application/HttpUtils.php | |||
diff --git a/application/LinkUtils.php b/application/LinkUtils.php index 26dd6b67..26dd6b67 100755..100644 --- a/application/LinkUtils.php +++ b/application/LinkUtils.php | |||
diff --git a/application/Url.php b/application/Url.php index a4ac2e73..a4ac2e73 100755..100644 --- a/application/Url.php +++ b/application/Url.php | |||
diff --git a/plugins/qrcode/qrcode.css b/plugins/qrcode/qrcode.css index 0d514a0e..0d514a0e 100755..100644 --- a/plugins/qrcode/qrcode.css +++ b/plugins/qrcode/qrcode.css | |||
diff --git a/tpl/tools.html b/tpl/tools.html index c13f4f16..c13f4f16 100755..100644 --- a/tpl/tools.html +++ b/tpl/tools.html | |||