summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-03-16 14:57:10 +0100
committerLukas Reschke <lukas@owncloud.com>2016-03-16 15:10:45 +0100
commitaee10f0281783d915d7cc5e4c09e9131a3758208 (patch)
treeae2a396add0a222870acbefa9ec57908093b2abb /.travis.yml
parent7e92ef37e3006f9b1e71ef13284038c22faa1a12 (diff)
downloadnextcloud-server-aee10f0281783d915d7cc5e4c09e9131a3758208.tar.gz
nextcloud-server-aee10f0281783d915d7cc5e4c09e9131a3758208.zip
[stable8.2] Execute parallel-lint
Backport of https://github.com/owncloud/core/pull/22994 and https://github.com/owncloud/core/pull/23303
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000000..9c33dc669f1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+sudo: false
+language: php
+php:
+ - 5.4
+
+branches:
+ only:
+ - master
+ - /^stable\d+(\.\d+)?$/
+
+script:
+ - sh -c "if [ '$TC' = 'syntax' ]; then composer install && vendor/bin/parallel-lint --exclude vendor/jakub-onderka/ --exclude 3rdparty/patchwork/utf8/class/Patchwork/Utf8/Bootup/ .; fi"
+
+matrix:
+ include:
+ - php: 5.4
+ env: DB=sqlite;TC=syntax
+ - php: 5.5
+ env: DB=sqlite;TC=syntax
+ - php: 5.6
+ env: DB=sqlite;TC=syntax
+ - php: 7.0
+ env: DB=sqlite;TC=syntax
+
+ fast_finish: true