Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 1.43 KB
language: c++
sudo: required
compiler:
- gcc
git:
# It takes a while to clone our submodules, so we'd like to use --jobs to
# speed it up. Here we prevent travis from using git clone --recursive, so
# below in before_install we can manually update including --jobs.
submodules: false
before_install:
# Unfortunately, the version of git we get by default is too low to support
# --jobs on subdmodule, so update git before pulling in the submodules.
- sudo add-apt-repository -y ppa:git-core/ppa
- sudo apt-get update -q
- sudo apt-get install -q -y git
- git submodule update --init --recursive --jobs=6
env:
global:
- MAKEFLAGS=-j3
matrix:
- BIT_FLAG=
# This would do another build for 32-bit, but we're already borderline
# too slow on faster 64-bit, so skip this for now.
# - BIT_FLAG=--32bit
script:
# Travis will time out our build if doesn't output anything for > 10 mintes,
# but --verbose sometimes outputs more than 4 MB of data, which will also
# cause our build to be killed. travis_wait allows the command to be silent
# for longer, but has the downside of not producing output if we timeout. See:
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
# For now, stick with --verbose and keep an eye on the logs.
- install/build_release.sh --verbose --skip_psol --debug $BIT_FLAG
notifications:
email:
- pagespeed-ci@googlegroups.com