-
Notifications
You must be signed in to change notification settings - Fork 259
/
.travis.yml
103 lines (103 loc) · 2.45 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
language: cpp
sudo: required
git:
depth: 3
env: PYTHONPATH=$PYTHONPATH:/usr/local/cmake-3.9.2/bin/
cache:
pip: true
directories:
- release
- blockscipy/build
- .mtime_cache
- $HOME/.local
- $HOME/.cache/pip
matrix:
include:
- stage: Build C++ Library
dist: xenial
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
env:
- CC=gcc-7
- CXX=g++-7
before_install: .travis/build_ubuntu_cpp.sh
install: .travis/compile_ubuntu_cpp.sh
script: .travis/test_parser.sh
- dist: bionic
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
env:
- CC=gcc-7
- CXX=g++-7
before_install: .travis/build_ubuntu_cpp.sh
install: .travis/compile_ubuntu_cpp.sh
script: .travis/test_parser.sh
- dist: bionic
compiler: gcc-8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- g++-8
env:
- CC=gcc-8
- CXX=g++-8
before_install: .travis/build_ubuntu_cpp.sh
install: .travis/compile_ubuntu_cpp.sh
script: .travis/test_parser.sh
# - os: osx
# osx_image: xcode10.1
# addons:
# homebrew:
# packages:
# - cmake
# - jsoncpp
# - libjson-rpc-cpp
# - boost
# - openssl
# - jemalloc
# - zstd
# - automake
# - libtool
# - google-sparsehash
# - lz4
# - python3
# before_install: .travis/build_osx_cpp.sh
# install: .travis/compile_osx_cpp.sh
# script: .travis/test_parser.sh
# - stage: Build Python Module
# dist: bionic
# compiler: gcc-7
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-7
# - g++-7
# env:
# - CC=gcc-7
# - CXX=g++-7
# before_install:
# - .travis/build_ubuntu_cpp.sh
# - .travis/build_ubuntu_python.sh
# install:
# - .travis/compile_ubuntu_cpp.sh
# - .travis/compile_ubuntu_python.sh
# script:
# - .travis/test_python.sh
# - .travis/generate_docs.sh