]> Git Repo - VerusCoin.git/blame - src/univalue/.travis.yml
Merge branch 'dev' into jl777
[VerusCoin.git] / src / univalue / .travis.yml
CommitLineData
0025fb4b
JG
1language: cpp
2
3compiler:
4 - clang
5 - gcc
6
7os:
8 - linux
9 - osx
10
11sudo: false
12
13env:
14 global:
15 - MAKEJOBS=-j3
16 - RUN_TESTS=true
17 - BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
18
19cache:
20 apt: true
21
22addons:
23 apt:
24 packages:
25 - pkg-config
26
27before_script:
28 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi
29 - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
30 - test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
31
32script:
33 - if [ -n "$UNIVALUE_CONFIG" ]; then unset CC; unset CXX; fi
34 - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
35 - UNIVALUE_CONFIG_ALL="--prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
36 - ./configure --cache-file=config.cache $UNIVALUE_CONFIG_ALL $UNIVALUE_CONFIG || ( cat config.log && false)
37 - make -s $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL ; false )
38 - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
39 - if [ "$RUN_TESTS" = "true" ]; then make $MAKEJOBS distcheck; fi
40
41matrix:
42 fast_finish: true
43 include:
44 - os: linux
45 compiler: gcc
46 env: UNIVALUE_CONFIG=--host=x86_64-w64-mingw32 RUN_TESTS=false
47 addons:
48 apt:
49 packages:
50 - g++-mingw-w64-x86-64
51 - gcc-mingw-w64-x86-64
52 - binutils-mingw-w64-x86-64
This page took 0.123062 seconds and 4 git commands to generate.