forked from ProAlgos/ProAlgos-Cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (42 loc) · 858 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
47
48
49
50
language: cpp
sudo: true
matrix:
include:
# Linux g++ build
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
# Linux clang++ build
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
# OSX g++ build
- os: osx
osx_image: xcode8.3
compiler: gcc
# OSX clang++ build
- os: osx
osx_image: xcode8.3
compiler: clang
before_install:
- eval "${MATRIX_EVAL}"
- pip install --user pyyaml cpp-coveralls
install: true
script:
- cd C++
- make all
- make test
after_success:
- coveralls -i C++