Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml67
1 files changed, 0 insertions, 67 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index d151815..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-language: php
-sudo: required
-php:
- - 7.3
- - 7.4
-
-services:
- - mysql
- - postgresql
-
-env:
- global:
- - CORE_BRANCH=master
- - APP_NAME=files_pdfviewer
- matrix:
- - DB=sqlite
-
-branches:
- only:
- - master
- - /^stable\d+(\.\d+)?$/
-
-before_install:
- - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- - . ./before_install.sh $APP_NAME $CORE_BRANCH $DB
-
- # Add some output debugging information
- - cd ../server
- - ./occ check
- - ./occ status
- - ./occ app:list
- - ./occ app:enable $APP_NAME
- - ./occ app:list
-
-script:
- - cd apps/$APP_NAME/
-
- # Test the app
- - sh -c "if [ '$CODECHECK' = '1' ]; then find . -name \*.php -exec php -l \"{}\" \;; fi"
- - cd ../../
- - sh -c "if [ '$CODECHECK' = '1' ]; then ./occ app:check-code $APP_NAME -c private -c strong-comparison; fi"
- - sh -c "if [ '$CODECHECK' = '2' ]; then ./occ app:check-code $APP_NAME -c deprecation; fi"
- - cd apps/$APP_NAME/
-
- # Run phpunit tests
- - cd tests
- - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi"
- - cd ..
-
- # Create coverage report
- - cd tests
- - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
- - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi"
- - cd ..
-
-matrix:
- include:
- - php: 7.3
- env: DB=mysql
- - php: 7.3
- env: DB=pgsql
- - php: 7.3
- env: DB=mysql;CODECHECK=1
- - php: 7.3
- env: DB=mysql;CODECHECK=2
- fast_finish: true
-