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

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2019-05-17 20:34:05 +0300
committerMatthias Held <ilovemilk@wusa.io>2019-05-17 20:34:05 +0300
commit13bdc9bcabe77311bc7f4c4cef30441b10df07c7 (patch)
tree95e8f42924d2e9b04bc460a5e7a20c70a4473b1c
parent2e22aa683c61195a4478a50f07bc326c631bbdef (diff)
add matrix
-rw-r--r--.travis.yml58
1 files changed, 50 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index c30779a..8c23a7f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,8 +7,6 @@ env:
global:
- CORE_BRANCH=stable16
- APP_NAME=ransomware_detection
- matrix:
- - DB=sqlite
before_install:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
@@ -30,12 +28,56 @@ jobs:
- CORE_BRANCH=stable13
script:
- cd apps/$APP_NAME/
- - 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/
- - sh -c "if [ '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then phpunit --configuration phpunit.xml; fi"
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.0
+ env:
+ - DB=sqlite
+ - CORE_BRANCH=stable14
+ script:
+ - cd apps/$APP_NAME/
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.0
+ env:
+ - DB=sqlite
+ - CORE_BRANCH=stable15
+ script:
+ - cd apps/$APP_NAME/
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.1
+ env:
+ - DB=mysql
+ script:
+ - cd apps/$APP_NAME/
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.1
+ env:
+ - DB=pgsql
+ script:
+ - cd apps/$APP_NAME/
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.1
+ env:
+ - DB=mysql
+ script:
+ - cd apps/$APP_NAME/
+ - phpunit --configuration phpunit.xml
+ - stage: test
+ php: 7.1
+ env:
+ - DB=mysql
+ script:
+ - ./occ app:check-code $APP_NAME -c private -c strong-comparison
+ - stage: test
+ php: 7.1
+ env:
+ - DB=mysql
+ script:
+ - ./occ app:check-code $APP_NAME -c deprecation
- stage: build
script:
- echo "Build"