Add integration tests

This commit is contained in:
Morris Jobke 2016-06-14 16:03:59 +02:00
parent 6b0577c699
commit 859ca1f9bb
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
2 changed files with 16 additions and 0 deletions

View File

@ -1,4 +1,11 @@
build:
integration:
image: morrisjobke/nextcloud-ci-php7:1.0.3
commands:
- git submodule update --init
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh
jsunit:
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
commands:

View File

@ -1,5 +1,14 @@
#!/usr/bin/env bash
COMPOSER=$(which composer)
if [ -x "$COMPOSER" ]; then
echo "Using composer executable $COMPOSER"
else
echo "Could not find composer executable" >&2
exit 1
fi
composer install
SCENARIO_TO_RUN=$1