forked from facebook/proxygen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (21 loc) · 982 Bytes
/
.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
# Facebook projects that use `fbcode_builder` for continuous integration
# share this Travis configuration to run builds via Docker.
sudo: required
# Ugh, `services:` must be in the matrix, or we get `docker: command not found`
# https://github.com/travis-ci/travis-ci/issues/5142
matrix:
include:
- env: ['os_image=ubuntu:14.04', gcc_version=4.9]
services: [docker]
# Unlike 14.04, this Debian Stable has 4.9 as the system compiler, so
# there is no risk of 4.8/4.9 ABI incompatibilities.
- env: ['os_image=debian:8.6', gcc_version=4.9]
services: [docker]
- env: ['os_image=ubuntu:16.04', gcc_version=5]
services: [docker]
script:
# Travis seems to get confused when `matrix:` is used with `language:`
- sudo apt-get install python2.7
# We don't want to write the script inline because of Travis kludginess --
# it looks like it escapes " and \ in scripts when using `matrix:`.
- ./build/fbcode_builder/travis_docker_build.sh