forked from microsoft/ModSecurity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
17 lines (15 loc) · 741 Bytes
/
.travis.yml
File metadata and controls
17 lines (15 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# We are going to run the build in a container.
# The reason we run the build in a container is that we have dependency on protobuf when we are building on Linux.
# Building protobuf as a build step is quite time consuming, so we want to package the protobuf as a container image with all the dependencies captured and run the build within this container.
sudo: required
language: c
services:
- docker
install:
# Setting up docker credentials.
- echo "$DOCKER_PASSWORD" | docker login appgwreg.azurecr.io -u "$DOCKER_USERNAME" --password-stdin
- docker pull appgwreg.azurecr.io/modsecurity:latest
script:
- docker-compose run --rm autoconf
- docker-compose run --rm configure
- docker-compose run --rm make