Update Azure Pipline based on travis-ci tuning

pull/197/head
German Service Network 4 years ago
parent 296de3d7a2
commit f2b2cdf620

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

Loading…
Cancel
Save