diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-29 09:54:33 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-29 10:14:45 +0100 |
commit | 9d35cacfda48529d882bd1628f39ef77eb5b4290 (patch) | |
tree | bdc785e4f066b57fc3eb53fdf9e665fdf748b849 /.travis.yml | |
parent | 527ef76dd6e45c2776edbc90829323e0ca534214 (diff) | |
download | nextcloud-server-9d35cacfda48529d882bd1628f39ef77eb5b4290.tar.gz nextcloud-server-9d35cacfda48529d882bd1628f39ef77eb5b4290.zip |
Make Travis CI pass when DAV was not touched
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 74dbfe00f01..95e8a2f7de4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ php: env: global: - - APP=dav + - TEST_DAV=$(tests/travis/changed_app.sh dav) - TC=litmus-v2 matrix: - DB=sqlite @@ -21,20 +21,22 @@ addons: - realpath before_install: - - bash tests/travis/test_for_app.sh $APP - - bash tests/travis/before_install.sh $DB + - sh -c "if [ '$TEST_DAV' = '1' ]; then bash tests/travis/before_install.sh $DB; fi" install: - - bash tests/travis/install.sh $DB + - sh -c "if [ '$TEST_DAV' = '1' ]; then bash tests/travis/install.sh $DB; fi" script: - - bash apps/$APP/tests/travis/$TC.sh + - sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi" + - sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi" + + - sh -c "if [ '$TEST_DAV' = '1' ]; then bash apps/dav/tests/travis/$TC.sh; fi" matrix: include: - php: 5.4 - env: DB=pgsql;TC=litmus-v1;APP=dav + env: DB=pgsql;TC=litmus-v1 # - php: 5.4 -# env: DB=mysql;TC=caldavtester;APP=dav +# env: DB=mysql;TC=caldavtester fast_finish: true |