forked from Zilliqa/zq1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
68 lines (63 loc) · 1.72 KB
/
.travis.yml
File metadata and controls
68 lines (63 loc) · 1.72 KB
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
language: generic
cache:
directories:
- $HOME/.ccache/
matrix:
include:
- os: linux
dist: bionic
# - os: osx
# osx_image: xcode10.1
addons:
apt:
update: true
packages:
# APT packages are organized into two groups, build dependency and
# development dependency, where the former is necessary for users who
# want to build Zilliqa whereas the latter is only for CI.
# Note that the names are sorted in each group.
#
# Build dependency
- build-essential
- cmake
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-test-dev
- libboost-python-dev
- libcurl4-openssl-dev
- libevent-dev
- libjsoncpp-dev
- libjsonrpccpp-dev
- libleveldb-dev
- libmicrohttpd-dev
- libminiupnpc-dev
- libsnappy-dev
- libssl-dev
- pkg-config
# Development dependency
- ccache
- clang-5.0
- clang-format-5.0
- clang-tidy-5.0
- curl
- gawk
- git
- lcov
- libxml2-utils
- python-dev
- python3-dev
- libsecp256k1-dev
install:
- wget https://github.com/Kitware/CMake/releases/download/v3.19.3/cmake-3.19.3-Linux-x86_64.sh
- mkdir -p "${HOME}"/.local
- bash ./cmake-3.19.3-Linux-x86_64.sh --skip-license --prefix="${HOME}"/.local/
- cmake --version
- rm cmake-3.19.3-Linux-x86_64.sh
- docker run --rm -it -v /scilla:/root/scilla zilliqa/scilla:v0.10.0-alpha.1 cp -r /scilla /root/
- ls /scilla/0/
script:
- ./scripts/ci_build.sh;
# Code coverage is currently only implemented for GCC builds, so OSX is currently excluded from reporting
after_success:
- ./scripts/ci_report_coverage.sh