merge-requests/12/merge
Julien Veyssier 2018-01-14 19:25:28 +01:00
parent 6b354c1823
commit 31168d4c98
2 changed files with 28 additions and 0 deletions

10
.gitlab-ci.yml 100644
View File

@ -0,0 +1,10 @@
# Select image from https://hub.docker.com/
image: nextcloud:latest
before_script:
# Install dependencies
- bash ci/docker_install.sh
test:app:
script:
- phpunit --configuration /data/gpxedit/phpunit.xml

View File

@ -0,0 +1,18 @@
#!/bin/bash
# We need to install dependencies only for Docker
[[ ! -e /.dockerenv ]] && exit 0
set -xe
apt-get update -yqq
apt-get install git -yqq
curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod +x /usr/local/bin/phpunit
cd /data/apps/
git clone https://gitlab.com/eneiluj/gpxedit-oc gpxedit
ls /data
ls /data/apps