forked from libbitcoin/libbitcoin-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (21 loc) · 831 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
###############################################################################
# Copyright (c) 2011-2014 libbitcoin developers (see COPYING).
#
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
#
###############################################################################
language:
- cpp
compiler:
- gcc
before_install:
# Set package repository.
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# Update the system.
- sudo apt-get -qq update
# Install GCC 4.8 (for C++11 support).
- sudo apt-get -qq install g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
script:
# Download and build libbitcoin and all dependencies.
- sudo ./install.sh CXXFLAGS="-Os -s" --disable-shared --enable-static --build-gmp --build-boost