247a821564
* adds support for `--psol-from-source` so you don't need binary modules, and `--devel` so you can run our tests without going and getting all our dependencies * adds submodules for testing: mod_pagespeed, ngx_cache_purge etc * adds support for running as: ``` git clone git@github.com:pagespeed/ngx_pagespeed.git cd ngx_pagespeed/ git checkout <branch> scripts/build_ngx_pagespeed.sh [options] ``` * depends on the scripts @hillsp is working on so that we can just check out mod_pagespeed and ask it to build and rebuild itself * adds colors to output to make it easier to read
30 lines
902 B
YAML
30 lines
902 B
YAML
language: c++
|
|
env:
|
|
global:
|
|
- MAKEFLAGS=-j3
|
|
# By default travis loads submodules serially, but we can load them in parallel
|
|
# if we install an updated git and use --jobs. Some timing numbers:
|
|
# serial: 257s
|
|
# jobs=4: 182s (29s to install new git, 153s to run the downloads)
|
|
# jobs=8: 179s (29s to install new git, 150s to run the downloads)
|
|
# We can't use --depth=1, though, because github doesn't have
|
|
# allowReachableSHA1InWant set.
|
|
git:
|
|
submodules: false
|
|
before_install:
|
|
- sudo add-apt-repository --yes ppa:git-core/ppa
|
|
- sudo apt-get update
|
|
- sudo apt-get install git
|
|
- git submodule update --init --recursive --jobs=8
|
|
install:
|
|
scripts/build_ngx_pagespeed.sh --devel --assume-yes
|
|
script:
|
|
test/run_tests.sh $PWD/testing-dependencies/mod_pagespeed/ \
|
|
$PWD/nginx/sbin/nginx
|
|
sudo: required
|
|
compiler:
|
|
- gcc
|
|
notifications:
|
|
email:
|
|
- jefftk@google.com
|