-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
42 lines (35 loc) · 836 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
sudo: required
dist: trusty
language: c
notifications:
email:
on_success: change
on_failure: change
matrix:
include:
- env: COMPILER=gcc VERSION=5
- env: COMPILER=gcc VERSION=4.8
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- |
if [ "$VERSION" = "5" ]; then
sudo apt-get install -qq -y gcc-5
elif [ "$VERSION" = "4.8" ]; then
sudo apt-get install -qq -y gcc-4.8
fi
before_script:
- |
if [ "$VERSION" = "5" ]; then
export CC=gcc-5
elif [ "$VERSION" = "4.8" ]; then
export CC=gcc-4.8
fi
install:
- sudo apt-get -qq update
- sudo apt-get install libnuma-dev
- sudo apt-get install bash
script:
- bash .buildtest.sh
after_success:
- bash <(curl -s https://codecov.io/bash)