982709199f
2740c4f Merge branch '2015_11_escape_plan' into bitcoin 7482163 Add new testcase to Makefile.am 46098ee Version 1.0.1. ccf3575 parser: Ensure multiple values cannot follow each other eb6cd64 Omit Obj/Arr open token from jsonTokenIsValue() test bfef9e2 Makefile.am: list recently added test data, fail{35,36}.json 3e319f3 parser: Tighten array, object syntax checks. c74185c parser: transform C++ variables into bitmask f2568bc Prefer C++ STL vector .at() for accessing object values. 8eafa26 travis: run parallel 'make distcheck' fd448da test: Improve tester diagnostics. Add failing test case from #15 2158205 Use internal, locale-independent isspace(), isdigit() implementations. 2ab9ad4 travis: Make 'make distcheck' for more comprehensive checks. 3339191 Escape all control characters git-subtree-dir: src/univalue git-subtree-split: 2740c4f71242086a7eb3dc32f812546ba9fad913
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
|
|
language: cpp
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
global:
|
|
- MAKEJOBS=-j3
|
|
- RUN_TESTS=true
|
|
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
|
|
|
|
cache:
|
|
apt: true
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- pkg-config
|
|
|
|
before_script:
|
|
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
|
|
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
|
|
|
|
script:
|
|
- if [ -n "$UNIVALUE_CONFIG" ]; then unset CC; unset CXX; fi
|
|
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
|
|
- UNIVALUE_CONFIG_ALL="--prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
|
|
- ./configure --cache-file=config.cache $UNIVALUE_CONFIG_ALL $UNIVALUE_CONFIG || ( cat config.log && false)
|
|
- make -s $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL ; false )
|
|
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
|
|
- if [ "$RUN_TESTS" = "true" ]; then make $MAKEJOBS distcheck; fi
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- os: linux
|
|
compiler: gcc
|
|
env: UNIVALUE_CONFIG=--host=x86_64-w64-mingw32 RUN_TESTS=false
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- g++-mingw-w64-x86-64
|
|
- gcc-mingw-w64-x86-64
|
|
- binutils-mingw-w64-x86-64
|