travis: much more minimal build to try again to get under 25 min compile time cutoff
This commit is contained in:
parent
e0622be27d
commit
da53e5e52a
1 changed files with 11 additions and 6 deletions
17
.travis.yml
17
.travis.yml
|
@ -1,13 +1,18 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
matrix:
|
compiler: clang
|
||||||
include:
|
|
||||||
- compiler: clang
|
|
||||||
env: CXX_SCONS="-Qunused-arguments -fcolor-diagnostics" WARNING_CXXFLAGS="-Wno-unused-function -Wno-uninitialized -Wno-array-bounds -Wno-parentheses -Wno-char-subscripts -Wno-internal-linkage-in-inline"
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- echo 'yes' | sudo add-apt-repository ppa:mapnik/boost
|
- echo 'yes' | sudo add-apt-repository ppa:mapnik/boost
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-system-dev libboost-thread-dev python-nose libicu-dev libpng-dev libjpeg-dev libtiff-dev libz-dev libfreetype6-dev libxml2-dev libproj-dev libpq-dev libgdal-dev libcairomm-1.0-dev python-cairo-dev libsqlite3-dev
|
- sudo apt-get install -qq libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-system-dev libboost-thread-dev python-nose libicu-dev libpng-dev libjpeg-dev libtiff-dev libz-dev libfreetype6-dev libxml2-dev libproj-dev
|
||||||
|
|
||||||
script: scons configure DEMO=False CPP_TESTS=False CAIRO=False INPUT_PLUGINS=shape,csv,osm OPTIMIZATION=2 JOBS=2 FAST=True CXX="$CXX $CXX_SCONS" WARNING_CXXFLAGS=$WARNING_CXXFLAGS && sudo make install
|
install:
|
||||||
|
- ./configure DEMO=False BINDINGS='' CPP_TESTS=False CAIRO=False INPUT_PLUGINS='' OPTIMIZATION=1 JOBS=2 FAST=True
|
||||||
|
- make
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
irc:
|
||||||
|
channels:
|
||||||
|
- "irc.freenode.org#mapnik"
|
||||||
|
use_notice: true
|
||||||
|
|
Loading…
Reference in a new issue