forked from adaptivecomputing/torque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (63 loc) · 1.92 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
61
62
63
64
65
66
67
68
69
language: cpp
addons:
apt:
packages: &general
- check
- libboost-dev
- libreadline-dev
- libpam0g-dev
- libssl-dev
- libhwloc-dev
- libxml2-dev
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [*general, 'gcc-4.4', 'g++-4.4']
env:
- OUR_CC=gcc-4.4 OUR_CXX=g++-4.4 OUR_GCOV=gcov-4.4
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [*general, 'gcc-4.8', 'g++-4.8']
env:
- OUR_CC=gcc-4.8 OUR_CXX=g++-4.8 OUR_GCOV=gcov-4.8
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [*general, 'gcc-5', 'g++-5']
env:
- OUR_CC=gcc-5 OUR_CXX=g++-5 OUR_GCOV=gcov-5
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [*general, 'gcc-6', 'g++-6']
env:
- OUR_CC=gcc-6 OUR_CXX=g++-6 OUR_GCOV=gcov-6
install:
- wget -q -O hwloc.tar.gz https://github.com/open-mpi/hwloc/archive/hwloc-1.11.4.tar.gz
- tar -xzf hwloc.tar.gz
- mkdir $HOME/opt
- pushd hwloc-*/ && ./autogen.sh && ./configure --prefix=$HOME/opt && make && make install && popd
- export PKG_CONFIG_PATH=$HOME/opt/lib/pkgconfig:$PKG_CONFIG_PATH
- export LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH
- export PATH=$HOME/opt/bin:$PATH
- ln -s $(which $OUR_GCOV) $HOME/opt/bin/gcov
script:
- ./autogen.sh
- CC=$OUR_CC CXX=$OUR_CXX ./configure --with-check --with-pam --enable-acct-x --enable-drmaa --enable-cgroups --with-hwloc-path=$HOME/opt
- make -j2 V=0
- set -o pipefail
- make check -k V=0 | tee checks.txt
- make distcheck V=0
- python parse_cov_results.py checks.txt
- python cov_file_results.py