- 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'