File: .travis.yml

package info (click to toggle)
libreswan 3.27-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,684 kB
  • sloc: ansic: 137,932; sh: 24,754; xml: 14,989; python: 7,065; asm: 4,026; makefile: 1,766; perl: 1,133; yacc: 689; lex: 667; sed: 469; awk: 94
file content (26 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (2)
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
sudo: required

services: docker

language: c

os:
  - linux

compiler:
  - gcc

before_install:
  - echo $PWD
  - git rev-parse --abbrev-ref HEAD
  - git checkout $TRAVIS_BRANCH
  #
  # 'make travis-docker-image' reads the branch name
  # <travis>-<distro>-<rel>  or default to Fedora 27
  #
  - make travis-docker-image
  - sudo docker run -h west --privileged --net=none --name swanbase -v $PWD:/home/build/libreswan -v /sys/fs/cgroup:/sys/fs/cgroup:ro -d swanbase

script:
  - sudo docker exec -ti swanbase  /bin/bash -c 'cd /home/build/libreswan && make base'
  - sudo docker exec -ti swanbase  /bin/bash -c 'cd /home/build/libreswan && make install-base'