summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-14 16:49:11 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-07 12:53:57 +0200
commite263e4565b15efacd0e52800f8bc4b43dd87b169 (patch)
tree9fa13bcc358e2aee3f41b94be802042bd47fd24d /.drone.yml
parent66ae76bbfdffd07275da027082996eb9ea4e4cad (diff)
Add execution to drone
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml44
1 files changed, 34 insertions, 10 deletions
diff --git a/.drone.yml b/.drone.yml
index 1ad49c0af..9c0f8f0f7 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -148,6 +148,29 @@ pipeline:
when:
matrix:
TESTS: php7.1
+ php7.1-integration:
+ image: nextcloudci/php7.1:php7.1-3
+ environment:
+ - APP_NAME=spreed
+ - CORE_BRANCH=master
+ - DB=sqlite
+ commands:
+ # FIXME: Move into Docker image
+ - yum -y install wget
+
+ # Pre-setup steps
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
+ - cd ../server/
+ - ./occ app:enable $APP_NAME
+ - cd apps/$APP_NAME
+
+ # Run integration tests
+ - cd tests/integration/
+ - bash run.sh
+ when:
+ matrix:
+ TESTS: php7.1-integration
jsunit:
image: nextcloudci/jsunit:jsunit-5
commands:
@@ -160,13 +183,14 @@ pipeline:
matrix:
include:
- - TESTS: eslint
- - TESTS: stylelint
- - TESTS: check-app-compatbility
- - TESTS: syntax-php5.6
- - TESTS: syntax-php7.0
- - TESTS: signed-off-check
- - TESTS: php5.6
- - TESTS: php7.0
- - TESTS: php7.1
- - TESTS: jsunit
+ #- TESTS: eslint
+ #- TESTS: stylelint
+ #- TESTS: check-app-compatbility
+ #- TESTS: syntax-php5.6
+ #- TESTS: syntax-php7.0
+ #- TESTS: signed-off-check
+ #- TESTS: php5.6
+ #- TESTS: php7.0
+ #- TESTS: php7.1
+ - TESTS: php7.1-integration
+ #- TESTS: jsunit