Add integration tests
This commit is contained in:
parent
7a5093c43e
commit
97ae4d8b00
|
@ -1,4 +1,11 @@
|
||||||
build:
|
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:
|
jsunit:
|
||||||
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
|
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
|
||||||
commands:
|
commands:
|
||||||
|
|
|
@ -1,5 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
composer install
|
||||||
|
|
||||||
SCENARIO_TO_RUN=$1
|
SCENARIO_TO_RUN=$1
|
||||||
|
|
Loading…
Reference in New Issue