-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (47 loc) · 1.47 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
dist: trusty
sudo: required
language: generic
compiler:
- gcc
- clang
matrix:
include:
- compiler: gcc
env: CXX=g++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# install compiler and standard library
- sudo apt-get install -qq g++-5
- sudo apt-get install -qq libstdc++6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 50
# install build tools
- sudo apt-get install -qq make
# install libraries
- sudo apt-get install -qq libpthread-stubs0-dev
- sudo apt-get install -qq libboost-dev
- sudo apt-get install -qq libboost-system-dev
before_script:
- $CXX --version
after_success:
- bash <(curl -s https://codecov.io/bash) -X gcov
- compiler: clang
env: CXX=clang++
before_install:
- sudo add-apt-repository -y ppa:h-rayflood/llvm
- sudo apt-get update -qq
install:
- sudo apt-get install --allow-unauthenticated -qq clang-3.3
- sudo apt-get install --allow-unauthenticated -qq libc++-dev libc++1 libc++abi-dev libc++abi1
# install build tools
- sudo apt-get install -qq make
# install libraries
- sudo apt-get install -qq libpthread-stubs0-dev
- sudo apt-get install -qq libboost-dev
- sudo apt-get install -qq libboost-system-dev
before_script:
- $CXX --version
# command to run tests
script:
- make test