From 31df74b318913958bc4315dbcdb97c2ce55437c2 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Mon, 18 Feb 2019 14:54:23 +0800 Subject: [PATCH] fix ci --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2eb76fed..4efd7048 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,17 +26,16 @@ jobs: displayName: 'Use PHP version $(phpVersion)' - script: composer install --no-interaction --prefer-dist - displayName: 'composer install' + displayName: Install dependencies - script: | cp .env.testing .env php artisan key:random php artisan salt:random mysql -uroot -proot -e 'CREATE DATABASE IF NOT EXISTS test;' - mkdir junitReports displayName: 'Prepare testing environment' - - script: node scripts/distribute-test.js + - script: ./vendor/bin/phpunit --log-junit junit.xml displayName: Test - task: PublishTestResults@2