forked from koreader/koreader-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1010 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Travis-CI Build for koreader-base
# see travis-ci.org for details
dist: xenial
sudo: required
service:
- docker
cache:
apt: true
directories:
- $HOME/.ccache
env:
matrix:
- SHELLCHECKS=1
- EMULATE_READER=1 CC=gcc
- EMULATE_READER=1 CC=gcc USE_MAKE=1
- EMULATE_READER=1 CC=gcc KODEBUG=1
- EMULATE_READER=1 CC=clang
addons:
apt:
packages:
- cmake
- ninja-build
- g++
- libsdl2-dev
- luajit
- luarocks
# for luasec
- libssl1.0.0
- nasm
# OpenSSL likes this (package contains makedepend)
- xutils-dev
# libzmq workaround because we're using a positively ancient version, see https://github.com/zeromq/libzmq/pull/1497
- libtool-bin
install:
- if [ "$EMULATE_READER" = 1 ]; then source .ci/emulator_install.sh; fi
- if [[ -n ${DOCKER_IMG+x} ]]; then docker pull $DOCKER_IMG; fi
script:
- source .ci/build_script.sh
- if [ "$EMULATE_READER" = 1 ]; then source .ci/test_script.sh; fi