Browse Source

Test: test show all

viest 3 years ago
parent
commit
8852e3d26a
3 changed files with 5 additions and 3 deletions
  1. 2 1
      .appveyor.yml
  2. 2 1
      .github/workflows/main.yml
  3. 1 1
      .travis.yml

+ 2 - 1
.appveyor.yml

@@ -208,6 +208,7 @@ build_script:
     #echo "@echo off" | Out-File -Encoding "ASCII" task.bat
     #echo "" | Out-File -Encoding "ASCII" -Append task.bat
     echo "" | Out-File -Encoding "ASCII" task.bat
+    echo "php -m 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
     echo "call git submodule update --init 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
     echo "call phpize 2>&1" | Out-File -Encoding "ASCII" -Append task.bat
     $conf_cmd = 'call configure --with-xlswriter --with-extra-libs=c:\build-cache\zlib\lib --with-extra-includes=c:\build-cache\zlib\include --enable-debug-pack 2>&1'
@@ -258,7 +259,7 @@ test_script:
     echo "set REPORT_EXIT_STATUS=1" | Out-File -Encoding "ASCII" -Append task.bat
     $cmd = 'call configure --with-xlswriter --with-extra-libs=c:\build-cache\zlib\lib --with-extra-includes=c:\build-cache\zlib\include --with-prefix=c:\build-cache\' + $dname + ' 2>&1'
     echo $cmd | Out-File -Encoding "ASCII" -Append task.bat
-    echo 'nmake /nologo test TESTS="-q --show-diff --set-timeout 120" 2>&1' | Out-File -Encoding "ASCII" -Append task.bat
+    echo 'nmake /nologo test TESTS="-q --show-all --set-timeout 120" 2>&1' | Out-File -Encoding "ASCII" -Append task.bat
     echo "exit %errorlevel%" | Out-File -Encoding "ASCII" -Append task.bat
     $here = (Get-Item -Path "." -Verbose).FullName
     $runner = 'c:\build-cache\php-sdk-' + $env:BIN_SDK_VER + '\phpsdk' + '-' + $env:VC + '-' + $env:ARCH + '.bat'

+ 2 - 1
.github/workflows/main.yml

@@ -41,6 +41,7 @@ jobs:
 
       - name: Build Extension And Execute Tests
         run: |
+          php -m
           phpize && ./configure --enable-reader
           make clean && make && make test
 
@@ -49,4 +50,4 @@ jobs:
         run: |
           phpize && ./configure --enable-reader
           make clean && make && make test
-          REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-diff --set-timeout 120
+          REPORT_EXIT_STATUS=1 php -n run-tests.php -m -n -d extension_dir=./modules/ -d extension=xlswriter.so -P --show-all --set-timeout 120

+ 1 - 1
.travis.yml

@@ -27,6 +27,7 @@ notifications:
   email: [email protected]
 
 before_script:
+  - php -m
   - git submodule update --init
   - sudo apt-get install zlib1g-dev -y
   - phpize && ./configure --enable-reader && make clean && make
@@ -35,7 +36,6 @@ branches:
   only:
     - master
     - dev
-    - bundle
 
 script:
     - ./travis/run-test.sh