]> git.gsnw.org Git - fping.git/commitdiff
Update Azure Pipline based on travis-ci tuning
authorGerman Service Network <support@gsnw.de>
Fri, 7 Aug 2020 18:30:11 +0000 (20:30 +0200)
committerGerman Service Network <support@gsnw.de>
Fri, 7 Aug 2020 18:30:11 +0000 (20:30 +0200)
azure-pipelines.yml

index 7a76f279bd4c9468ad1fb1d16b2c2a2f65bd5358..115b65e496a2a50c9c946095b185f17c1fd466ca 100644 (file)
@@ -2,25 +2,25 @@ jobs:
 - job: linux_build
   displayName: Linux Build
 
-  pool: Hosted Ubuntu 1604
+  pool:
+    name: Azure Pipelines
+    vmImage: 'ubuntu-latest'
   workspace:
     clean: all
   steps:
   - script: |
      sudo apt-get update -qq
-     sudo apt-get install libcap2-bin
-     echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' |  sudo tee -a /etc/ssl/certs/ca-
+     sudo apt-get install libcap2-bin libtest-command-perl
     displayName: 'before_install'
 
   - script: |
-     ci/build-1-autotools.sh
-     curl -L http://cpanmin.us | perl - --sudo App::cpanminus
-     cpanm --sudo Test::Command
+     ci/build-4-compile.sh
     displayName: install
 
   - script: |
-     ci/build-2-install.sh
-     env PATH=`pwd`/src:$PATH prove ci/test-{01..13}*.pl
-     env PATH=`pwd`/src:$PATH prove ci/test-15*.pl
+     set -ex
+     PATH=`pwd`/src:$PATH
+     prove ci/test-{01..12}*.pl
+     prove ci/test-15*.pl
      ci/test-tarball.sh
     displayName: 'build_test'