-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
67 lines (61 loc) · 1.36 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
language: c
compiler:
- gcc
- clang
dist: bionic
matrix:
include:
- os: linux
arch: amd64
- os: linux
arch: arm64
# Travis transient failures
- os: linux
arch: ppc64le
# Travis transient failures
- os: osx
osx_image: xcode11.3
addons:
apt:
update: true
packages:
- build-essential
- fakeroot
- debhelper
# crypto libraries:
- libssl-dev
- libsodium-dev
- libmbedtls-dev
# mandatory dependencies:
- libscrypt-dev
- libfuse-dev
- libcurl4
# optional dependencies:
- libedit-dev
- liblz4-dev
- libsqlite3-dev
- liblua5.3-dev
- lua5.3
homebrew:
update: false
packages:
- libscrypt
- lz4
- libsodium
- mbedtls
- lua
casks:
- osxfuse
script:
# Build and install the DEB packages.
- if [ "$(uname -s)" = "Linux" ]; then (cd pkg && make deb && sudo dpkg -i ../rvault*.deb); fi
# Run the unit tests.
- (cd src && make clean && USE_LZ4=1 make -j4 tests)
# Run the Lua tests.
- (cd src && make clean && make -j4 lib && make lua-tests)
#
# Run the tests using mbedtls and libsodium
#
#- (cd src && USE_MBEDTLS=1 make clean && USE_OPENSSL=0 USE_MBEDTLS=1 make tests)
- if [ "$(uname -n)" = "x86_64" ]; then (cd src && USE_SODIUM=1 make clean && USE_OPENSSL=0 USE_SODIUM=1 make tests); fi