-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (30 loc) · 661 Bytes
/
.travis.yml
File metadata and controls
30 lines (30 loc) · 661 Bytes
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
# See: https://docs.travis-ci.com/user/languages/c/
language: c
sudo: false
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- _CC="gcc-8 -std=c11"
- _CXX="g++-8 -std=c++17"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
packages:
- clang-6.0
env:
- _CC="clang-6.0 -std=c11"
- _CXX="clang++-6.0 -std=c++17"
before_install:
- export CC="$_CC" CXX="$_CXX"
script:
- make && make check