From 058d616d6a85cfcb2f3a78b152ee2204b08877ce Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 17 Feb 2019 09:14:41 +0800 Subject: [PATCH] tweak ci --- azure-pipelines.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f2c1ff0a..be92fc7a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,14 +1,15 @@ jobs: -- job: php - displayName: PHP Test +- job: PHP pool: vmImage: 'Ubuntu-16.04' strategy: matrix: - php71: + '7.1': phpVersion: 7.1 - php72: + '7.2': phpVersion: 7.2 + '7.3': + phpVersion: 7.3 variables: APP_ENV: testing DB_CONNECTION: mysql @@ -45,8 +46,7 @@ jobs: testRunner: JUnit testResultsFiles: './junit.xml' -- job: javascript - displayName: JavaScript and Vue Test +- job: JavaScript pool: vmImage: 'Ubuntu-16.04' steps: @@ -59,7 +59,7 @@ jobs: - script: | yarn lint - yarn test --ci --reporters=default --reporters=jest-junit --coverage --coverageReporters=cobertura + yarn test --ci --reporters=default --reporters=jest-junit --coverage displayName: 'Run Test' - task: PublishTestResults@2 @@ -67,8 +67,3 @@ jobs: inputs: testRunner: JUnit testResultsFiles: './junit.xml' - - - task: PublishCodeCoverageResults@1 - inputs: - codeCoverageTool: Cobertura - summaryFileLocation: ./coverage/cobertura-coverage.xml