-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (22 loc) · 912 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
language: generic
arch:
- amd64
- ppc64le
services:
- docker
env:
- CONFIGURE_FLAGS=
- CONFIGURE_FLAGS=--release
- CONFIGURE_FLAGS=--no-debug
before_install:
- export CONTAINER_ID=$(docker run -itd --rm --mount type=bind,source="$(pwd)",target=/app debian:stable)
- docker exec $CONTAINER_ID apt-get update
- docker exec $CONTAINER_ID apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-3-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev
install:
- docker exec $CONTAINER_ID bash -c "cd /app; ./configure --with-tests --with-libsignal-in-tree $CONFIGURE_FLAGS"
- docker exec $CONTAINER_ID bash -c "cd /app; make"
script:
- docker exec $CONTAINER_ID bash -c "cd /app; build/xmpp-vala-test"
- docker exec $CONTAINER_ID bash -c "cd /app; build/signal-protocol-vala-test"
after_script:
- docker kill $CONTAINER_ID