]>
Commit | Line | Data |
---|---|---|
7d8a4609 LB |
1 | dist: focal |
2 | os: linux | |
3 | language: c | |
4 | services: | |
5 | - docker | |
6 | jobs: | |
7 | include: | |
af1b88e9 CH |
8 | - script: |
9 | - docker/centos-7/build.sh | |
10 | - docker images | |
11 | name: centos7 | |
12 | - script: | |
13 | - docker/centos-8/build.sh | |
14 | - docker images | |
15 | name: centos8 | |
7d8a4609 LB |
16 | - script: |
17 | - sudo apt install -y linux-modules-extra-$(uname -r) | |
18 | - docker build -t frr-ubuntu18:latest -f docker/ubuntu18-ci/Dockerfile . | |
19 | - docker images | |
20 | - uname -a | |
21 | - docker run -d --privileged --name frr-ubuntu18 --mount type=bind,source=/lib/modules,target=/lib/modules frr-ubuntu18:latest | |
22 | - docker ps | |
23 | - docker exec frr-ubuntu18 bash -c 'cd ~/frr ; make check' | |
24 | - docker exec frr-ubuntu18 bash -c 'ps agxu ; lsmod | grep mpls || true' | |
9ce68650 | 25 | - docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/ospf_topo1 ; sudo pytest test_ospf_topo1.py' |
7d8a4609 LB |
26 | - docker exec frr-ubuntu18 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py' |
27 | name: ubuntu18+minimalCI | |
28 | - script: | |
29 | - sudo apt install -y linux-modules-extra-$(uname -r) | |
30 | - docker build -t frr-ubuntu20:latest -f docker/ubuntu20-ci/Dockerfile . | |
31 | - docker images | |
32 | - uname -a | |
33 | - docker run -d --privileged --name frr-ubuntu20 --mount type=bind,source=/lib/modules,target=/lib/modules frr-ubuntu20:latest | |
34 | - docker ps | |
35 | - docker exec frr-ubuntu20 bash -c 'cd ~/frr ; make check' | |
36 | - docker exec frr-ubuntu20 bash -c 'ps agxu ; lsmod | grep mpls || true' | |
9ce68650 | 37 | - docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/ospf_topo1 ; sudo pytest test_ospf_topo1.py' |
7d8a4609 LB |
38 | - docker exec frr-ubuntu20 bash -c 'cd ~/frr/tests/topotests/bgp_l3vpn_to_bgp_vrf ; sudo pytest test_bgp_l3vpn_to_bgp_vrf.py' |
39 | name: ubuntu20+minimalCI | |
40 |