]> Git Repo - VerusCoin.git/blame - .travis.yml
Merge branch 'dev' into jl777
[VerusCoin.git] / .travis.yml
CommitLineData
9000990c 1<<<<<<< HEAD
9380d019 2language: cpp
eeaec539 3
4compiler:
5 - gcc
6
7before_install:
8 - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
9 - sudo apt-get update -qq
10 - sudo apt-get install build-essential pkg-config libcurl3-gnutls-dev libc6-dev libevent-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libssl-dev libprotobuf-dev protobuf-compiler libdb++-dev ntp ntpdate
11#install:
12
13script:
14 - ./zcutil/build.sh -j 5
15
16notifications:
17 irc:
18 channels:
19 - "chat.freenode.net#komodoplatform"
20 template:
21 - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
22 - "Alt Message : %{repository_slug} - (%{commit} - %{author}): %{message}, Build Time: %{duration}"
23 - "Change view : %{compare_url}"
24 - "Build details : %{build_url}"
9000990c 25=======
9380d019
CF
26# errata:
27# - A travis bug causes caches to trample eachother when using the same
28# compiler key (which we don't use anyway). This is worked around for now by
caecb42b 29# replacing the "compilers" with a build name prefixed by the no-op ":"
124e9389 30# command. See: https://github.com/travis-ci/travis-ci/issues/4393
7ab7005f
LD
31# - sudo/dist/group are set so as to get Blue Box VMs, necessary for [loopback]
32# IPv6 support
33
34sudo: required
35dist: precise
36group: legacy
9380d019
CF
37
38os: linux
39language: cpp
1f4d7cf2 40compiler: gcc
9380d019
CF
41env:
42 global:
43 - MAKEJOBS=-j3
44 - RUN_TESTS=false
69866436 45 - BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
9380d019
CF
46 - CCACHE_SIZE=100M
47 - CCACHE_TEMPDIR=/tmp/.ccache-temp
48 - CCACHE_COMPRESS=1
49 - BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
81061ffd 50 - SDK_URL=https://bitcoincore.org/depends-sources/sdks
29bff0e6 51 - PYTHON_DEBUG=1
cc602d0f 52 - WINEDEBUG=fixme-all
9380d019
CF
53cache:
54 apt: true
55 directories:
56 - depends/built
81061ffd 57 - depends/sdk-sources
9380d019
CF
58 - $HOME/.ccache
59matrix:
60 fast_finish: true
61 include:
caecb42b 62 - compiler: ": ARM"
506a2185 63 env: HOST=arm-linux-gnueabihf PACKAGES="g++-arm-linux-gnueabihf" DEP_OPTS="" GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
5abe2cf1 64 - compiler: ": Win32"
abecfc42 65 env: HOST=i686-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-reduce-exports" MAKEJOBS="-j2"
5abe2cf1 66 - compiler: ": 32-bit + dash"
5088de4b 67 env: HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc python-zmq" PPA="ppa:chris-lea/zeromq" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" USE_SHELL="/bin/dash"
5abe2cf1 68 - compiler: ": Win64"
abecfc42 69 env: HOST=x86_64-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-reduce-exports" MAKEJOBS="-j2"
caecb42b 70 - compiler: ": bitcoind"
506a2185 71 env: HOST=x86_64-unknown-linux-gnu PACKAGES="bc python-zmq" PPA="ppa:chris-lea/zeromq" DEP_OPTS="DEBUG=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER"
caecb42b 72 - compiler: ": No wallet"
06715165 73 env: HOST=x86_64-unknown-linux-gnu DEP_OPTS="NO_WALLET=1" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
caecb42b 74 - compiler: ": Cross-Mac"
06715165 75 env: HOST=x86_64-apple-darwin11 PACKAGES="cmake libcap-dev libz-dev libbz2-dev" BITCOIN_CONFIG="--enable-reduce-exports" OSX_SDK=10.9 GOAL="deploy"
1f4d7cf2
CF
76 exclude:
77 - compiler: gcc
9380d019 78install:
5088de4b 79 - if [ -n "$PACKAGES" ]; then sudo rm -f /etc/apt/sources.list.d/travis_ci_zeromq3-source.list; fi
9380d019 80 - if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi
096efc58 81 - if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
9380d019
CF
82before_script:
83 - unset CC; unset CXX
81061ffd 84 - mkdir -p depends/SDKs depends/sdk-sources
a8982ac9 85 - if [ -n "$OSX_SDK" -a ! -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then curl --location --fail $SDK_URL/MacOSX${OSX_SDK}.sdk.tar.gz -o depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
81061ffd 86 - if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
560e9963 87 - make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
9380d019 88script:
d6b0539f 89 - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
9380d019
CF
90 - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
91 - BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
92 - depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
93 - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export CCACHE_READONLY=1; fi
d6b0539f 94 - test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
9380d019
CF
95 - ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
96 - make distdir PACKAGE=bitcoin VERSION=$HOST
97 - cd bitcoin-$HOST
98 - ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
99 - make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
c54d647a 100 - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
e166c177 101 - if [ "$RUN_TESTS" = "true" ]; then make check; fi
2191eac8 102 - if [ "$RUN_TESTS" = "true" ]; then qa/pull-tester/rpc-tests.sh; fi
9380d019
CF
103after_script:
104 - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (echo "Upload goes here. Something like: scp -r $BASE_OUTDIR server" || echo "upload failed"); fi
9000990c 105>>>>>>> zcash/master
This page took 0.102365 seconds and 4 git commands to generate.