-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
38 lines (35 loc) · 871 Bytes
/
azure-pipelines.yml
File metadata and controls
38 lines (35 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
trigger:
- master
jobs:
- job: vm_ubuntu
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
bash ./tests/run_all.sh
displayName: 'Run Tests'
- job: docker_ubuntu
pool:
vmImage: 'ubuntu-latest'
container:
image: 'ubuntu:16.04'
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
steps:
- script: |
/tmp/docker exec -t -u 0 ci-container \
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
displayName: 'install sudo'
- script: |
sudo apt-get -y install curl bzip2
displayName: 'install packages'
- script: |
bash ./tests/run_all.sh
- job: docker_fedora
pool:
vmImage: 'ubuntu-latest'
container: 'fedora:30'
steps:
- script: |
sudo dnf -y install bzip2
- script: |
bash ./tests/run_all.sh