forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 902 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
sudo: false
branches:
only:
- master
# Release branches
- /^[0-9]+\.[0-9]+$/
os:
- linux
- osx
compiler:
- gcc
- clang
env:
- MESON_ARGS=""
- RUN_TESTS_ARGS="--no-unittests" MESON_ARGS="--unity=on"
language:
- cpp
services:
- docker
matrix:
exclude:
# On OS X gcc is just a wrapper around clang, so don't waste time testing that
- os: osx
compiler: gcc
include:
# Test cross builds separately, they do not use the global compiler
- os: linux
compiler: gcc
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.txt --cross linux-mingw-w64-64bit.txt"
- os: linux
compiler: gcc
env: RUN_TESTS_ARGS="--cross ubuntu-armhf.txt --cross linux-mingw-w64-64bit.txt" MESON_ARGS="--unity=on"
before_install:
- python ./skip_ci.py --base-branch-env=TRAVIS_BRANCH --is-pull-env=TRAVIS_PULL_REQUEST
- ./ci/travis_install.sh
script:
- ./ci/travis_script.sh