-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (33 loc) · 1.97 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
language: cpp
sudo: required
compiler:
- gcc
services:
- docker
# Distro versions
env:
global:
- MAKEFLAGS="-j 2"
matrix:
- BUILD_TARGET=ubuntu16.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=True"
- BUILD_TARGET=ubuntu16.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=False"
- BUILD_TARGET=ubuntu16.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=True"
- BUILD_TARGET=ubuntu16.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=False"
- BUILD_TARGET=ubuntu18.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=True"
- BUILD_TARGET=ubuntu18.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=False"
- BUILD_TARGET=ubuntu18.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=True"
- BUILD_TARGET=ubuntu18.04 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=False"
- BUILD_TARGET=ubuntu18.10 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=True"
- BUILD_TARGET=ubuntu18.10 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=False"
- BUILD_TARGET=ubuntu18.10 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=True"
- BUILD_TARGET=ubuntu18.10 CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=False"
- BUILD_TARGET=arch CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=True"
- BUILD_TARGET=arch CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=False"
- BUILD_TARGET=arch CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=True"
- BUILD_TARGET=arch CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=False"
- BUILD_TARGET=alpine CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=True"
- BUILD_TARGET=alpine CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Release -DJNI=False"
- BUILD_TARGET=alpine CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=True"
- BUILD_TARGET=alpine CONFIGURE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DJNI=False"
script:
- docker run -e MAKEFLAGS="$MAKEFLAGS" -v $(pwd):/build augugrumi/astaire-dockerbuilds:$BUILD_TARGET $CONFIGURE_FLAGS