-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
60 lines (50 loc) · 1.21 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
sudo: false
language: c
dist: bionic
# using anchor to import sources into linux builds
addons:
apt: &apt
sources:
- ubuntu-toolchain-r-test
# important for allowed-to-fail matching
# see https://docs.travis-ci.com/user/customizing-the-build#Rows-that-are-Allowed-to-Fail
env:
global:
- MAKEFLAGS="-j 2"
# travis currently does not support directly setting gcc/clang with versions
# (e.g. gcc-4.8) as value for the compiler key. So we will have to manually
# request these packages and use environment varibles to create the matrix.
jobs:
fast_finish: true
include:
- name: "gcc-7 on Linux"
compiler: gcc
- name: "gcc-7 on Linux, Rust enabled"
compiler: gcc
env:
- RUST_ENABLED=1
- name: "cargo build"
language: rust
script:
- ./ci/cargo.sh
- os: osx
osx_image: xcode11.4
compiler: clang
- os: osx
osx_image: xcode11.4
language: rust
script:
- ./ci/cargo.sh
allow_failures:
- os: osx
osx_image: xcode11.4
compiler: clang
- os: osx
osx_image: xcode11.4
language: rust
script:
- ./ci/cargo.sh
before_install:
- ./ci/before-install.sh
script:
- ./ci/run.sh