forked from laxnpander/OpenREALM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 882 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
# https://docs.travis-ci.com/user/reference/bionic
# https://docs.travis-ci.com/user/installing-dependencies
language: c++
stages:
- compile
- test
jobs:
include:
# os: linux
# dist: bionic
# os: linux
# dist: focal
- stage: compile
os: linux
dist: xenial
script:
docker exec -i build bash < install_openrealm_lib.sh
- stage: test
script:
docker exec -i build bash < install_openrealm_lib.sh &&
docker exec -i build bash < run_unit_tests.sh
services:
- docker
before_install:
- docker pull laxnpander/openrealm-base:latest
- docker run -it -d --name build laxnpander/openrealm-base:latest bash
- wget https://raw.githubusercontent.com/laxnpander/OpenREALM/dev/tools/install_openrealm_lib.sh
- wget https://raw.githubusercontent.com/laxnpander/OpenREALM/dev/travis/run_unit_tests.sh