forked from mapnik/mapnik-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (21 loc) · 989 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
25
26
27
28
29
language: cpp
dist: trusty
sudo: required
compiler:
- clang
env:
matrix:
- CXX11=true TARGET=build_mapnik QUIET=true MAPNIK_BRANCH=master
global:
- secure: Tdy4kT5Zz59e1POud0zwieJ+2ajPaC+5da4cQhS3w+aLs3a8RTd5czfTn8XQPkpViHFX0tr0JIk7vOhCoDmIJkLpr44J3xUwf+gEaJUDCuFPUpd+ddk7tRogMA6Trv12W5D3ZV603uzNdEr7WUv5VfMQo56eK1BI8Z5rGHRNDWo=
- secure: O4TCbGsvDnHVWn6DwWADdsldR2Re5DQ7JbJvTEqDv3GoOlHhwJRbOJsNAioQ77MgtyP3F4g3xpWGnFT2jHjnoP+NI54impFOstPXVvO4WvZBtx3U8+kiCQOXAn5QQRo4+KDz3fqZiI9PTXUfOF/Bgu2dqcGupGyFDoHEIQudu+0=
before_install:
- if [[ `uname -s` == 'Darwin' ]]; then vm_stat && sysctl -n hw.memsize; else free; fi
- if [[ `uname -s` == 'Linux' ]]; then sudo apt-get update; fi
install:
- COMMIT_MESSAGE=$(git show -s --format=%B $TRAVIS_COMMIT | tr -d '\n')
before_script:
- if test "${COMMIT_MESSAGE#*'[publish]'}" != "$COMMIT_MESSAGE"; then echo "publishing" && export PUBLISH=true; else echo "not publishing"; fi;
script:
- source ./build.sh
- ${TARGET}