forked from Kitware/KWStyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (24 loc) · 794 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
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided this notice is
# preserved. This file is offered as-is, without any warranty.
# Names of contributors must not be used to endorse or promote products
# derived from this file without specific prior written permission.
# See YAML format https://en.wikipedia.org/wiki/YAML
# See Travis CI (Continuous Integration) https://docs.travis-ci.com/
language: cpp
os:
- linux
- osx
compiler:
- clang
- gcc
addons:
apt:
packages:
- build-essential
- cmake
script:
- mkdir build-clang
- mkdir build-gcc
- cd build-clang && CC=clang CXX=clang++ cmake .. && make && cd ..
- cd build-gcc && CC=gcc CXX=g++ cmake .. && make && cd ..