-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (27 loc) · 824 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
# Celegraph Travis CI Script
# See https://docs.travis-ci.com/user/getting-started/
# See https://docs.travis-ci.com/user/languages/cpp/
# See https://docs.travis-ci.com/user/reference/overview/
# language: cpp
# script: make && bin/test
# compiler:
# - clang # clang++
# - gcc # g++
# For Travis CI with Meson, see http://mesonbuild.com/Continuous-Integration.html#continuous-integration
sudo: required
os:
- linux
language:
- cpp
compiler:
- clang # clang++
- gcc # g++
services:
- docker
before_install:
- docker pull jpakkane/mesonci:bionic
script:
- echo FROM jpakkane/mesonci:bionic > Dockerfile
- echo ADD . /root >> Dockerfile
- docker build -t withgit .
- docker run withgit /bin/sh -c "cd /root && TRAVIS=true CC=$CC CXX=$CXX meson builddir && ninja -C builddir"