• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Build matrix / environment variable are explained on:
2# http://about.travis-ci.org/docs/user/build-configuration/
3# This file can be validated on:
4# http://lint.travis-ci.org/
5before_install: sudo apt-get install cmake
6language: cpp
7compiler:
8  - gcc
9  - clang
10script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make
11env:
12  matrix:
13    - SHARED_LIBRARY=ON BUILD_TYPE=release VERBOSE_MAKE=false
14    - SHARED_LIBRARY=OFF BUILD_TYPE=release VERBOSE_MAKE=false
15    - SHARED_LIBRARY=OFF BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
16notifications:
17  email:
18    - aaronjjacobs@gmail.com
19