Files
deck/.travis.yml
2017-01-31 13:31:19 +01:00

35 lines
836 B
YAML

language: php
services:
- mysql
php:
- 7
env:
matrix:
- CORE_BRANCH=master DB=sqlite
- CORE_BRANCH=stable11 DB=sqlite
before_install:
# install core
- cd ../
- git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b $CORE_BRANCH
- mv deck server/apps/deck
before_script:
# fill owncloud with default configs and enable deck
- cd server
- mkdir data
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass=''
- ./occ app:enable deck
- ./occ app:check-code deck
- php -S localhost:8080 &
- cd apps/deck
script:
- make test
after_failure:
- cat ../../data/nextcloud.log
after_success:
- bash <(curl -s https://codecov.io/bash)