-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
51 lines (43 loc) · 2.61 KB
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
language: minimal
services:
- docker
jobs:
include:
# Pull requests don't have access to encrypted variables, so they cannot
# benefit from the multistage support.
# Stage 1: Build the base image
- stage: stage1_base_image
script: ./build_scripts/stage1.sh
if: type != pull_request
# Stage 2: GCC and Clang
- stage: stage2_gcc_clang
script: ./build_scripts/stage2.sh gcc8
if: type != pull_request
- script: ./build_scripts/stage2.sh clang7
if: type != pull_request
# Stage 3: Build remaining images
- stage: stage3_build_images
script: ./build_scripts/stage3.sh gssapi_libssh2
if: type != pull_request
# Stage 4: Test building curl
- stage: stage4_test_images
script: ./build_scripts/stage4.sh gssapi_libssh2
if: type != pull_request
# Cleanup: remove any temporary images
- stage: remove_images
script: ./build_scripts/cleanup.sh
if: tag IS blank AND type != pull_request
# -----
# For pull requests we still want to do testing, but we have to do it in
# serial mode.
- stage: all_stages_pull_request
script:
- ./build_scripts/stage1.sh
- ./build_scripts/stage2.sh
- ./build_scripts/stage3.sh
- ./build_scripts/stage4.sh
if: type = pull_request
env:
global:
- secure: hZHhrJmUroDWlcXMs6oH9ckWpbKOd3/9z6EEceBmRy/X1J21N5vMCnnjeQT1uDRbN3IO/Ir56eCNQ8tGXYptH50/yxywQ4QtUk+vR/VrqUuI+m69lKG0WjDP+SzOCHaf17lbrXtyBPRsVZe+W34uNt0bMMcRpF3IG0WiNQFnrugwXtaYDyZPEJb8sb4s95lhHzsjfAaJQpUNncL7Tk4neg3ItZ0oLvjdBptMJqDOPrXtEFwBr8OMQ0WxkP7hdeDdj1xvTvvb1xmlI69tRO9w5xkAhLPD9YA7mcizCjnEPuLGFowiyafLF3MfQapII2opYaFyhoj1Z6gCUNNhi9ueDMOkSjq4TDgJ0SIGIHFJLf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