forked from geopm/geopm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
85 lines (75 loc) · 5.31 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# Copyright (c) 2015, 2016, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY LOG OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
sudo: required
dist: trusty
language: cpp
git:
depth: 1000
before_install:
- rvm install 2.0.0
- wget https://github.com/json-c/json-c/archive/json-c-0.11-20130402.tar.gz
- tar xvf json-c-0.11-20130402.tar.gz
- cd json-c-json-c-0.11-20130402 && ./configure --prefix=$HOME/build/json && make && make install && cd -
- git fetch origin --tags
- git fetch origin $TRAVIS_BRANCH
- ./autogen.sh
install:
- CXX="g++-4.8" CC="gcc-4.8" ./configure --with-json=$HOME/build/json --disable-fortran
script:
- make
- make check
env:
global:
# OSC_CREDENTIALS for geopm/geopm
- secure: "J5TFi7y/vy6upnrENCHD1PnRM8HX46LK+66CFoTP17Fmx1Zo4eR2aFT2WBEkxBOsuw3HbSxC7NCOx4T9cyAWhcC5CaKtuQGJHJdGzbjmv85OHN9hxjvjCQRsiW2V/XBhl9DJr56Z23OS2oyIGTJzdQPV45Lgmu2yXE2gY8Kdk21P2/PxaeyzyJCBM+ejX9kQK7FYdAT/xSlMiHUFkdd6Sj2se23jUHD2MqN+EcLGqBzWdYIoAexJuDPAe3fR/yl66DDIBulYQinuQv07hej9TxLcNcRyWzZqUbHe0V1nKt+zwGjtSv6rEwqB1gPRIVr1mUOidbucHs42EwQNgqxaNMPo/XOPpeOgNPiNKr2xxWElzSMi2WZv14x3uDmkBZ2Yiew3F8oG28qeQWSHbXE0/m8WDlnrHx1r4h1/ir32tTQa/u8/w/creqGm3/flRvDlIim8cuv+cSoU5a/V9dhZrzyCQfNrjGFLaDl7FWXpU3oScDuP5CB/ZIdZkIFR2HQPQScuXEUw5gE10toLrO9G5G8+nf8GlDvasdgJON8kvRVyrYnDSvQrAyMp+8IbsN5HXN4S2Gpf1jpMkTlpCZ91yagkiS8mWNMHbPljmyrR3KyOFqK4b3MCeFdYspUQWQxAxhCeaN4EGJXT9Of62qcf4NsUMu7YHjVK9Nl9iHcynDo="
# OSC_CREDENTIALS for cmcantalupo/geopm
- secure: "i7+m1SqcoDLD0FAodAk1XOEi+2O1mjoo/C+cIv03yoWUw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bn/iJJKhY50N4W/UEosB6hg64GDUo5pI8YJWqCBpkM+AdTdWeJGxKZMyELHAa2zfYmXitNlvzQKTjseQz1i0xpl2/oX3NTv0ZC0YfCaH7nrADOEFHggmwBaA3vdOs2JqdxnP6bidD2RQzmloRgDWD6NTtZkzGZzb+D5irgZWvQTc2G9m4D86vOt99wMYRapk/7rC+jTUrL5gInukjB82JOTwFf6z82s4BzbQ0DuU4tndnoGqELZwnyFPGehnbxtENPgpFzzgMR0="
# OSC_CREDENTIALS for sssylvester/geopm
- secure: "EwmT8W+vVOSZUBMAIBr8dPYTFpsx8dsy70TizIQAxgRffIJ4O3epEj0eA53AvBCCjMuwTUBI7oVpZIHC+O56ue+28OoOYKoFwPJcGDNz5+GPbB+ZDjDNA7OMZGtDIAvmZ7NSnw9kAXKXDqdMnrWd70U0JjX6Ki0MEh7oheDslFbRp9GldvDhnzcc9le/PksZPUjb8j7sYXIGWnIxgGdj6NSqeZ30HA9MbevOuNFht5nJEfKTti8OMMPPqnqFlp+rn83Udxd58ez/fG6QhJKgEu/FTEF8lrJSnIyUM87n4xM/H3PCHp0iB7s4oAjigfFihZDJV6AjoIkM3zBSsRfTLBMOqHVU1XspYB9GBNOQZuOGgYl/Qi+9SNmlkvA+8KEk9pNbuUVGdvad8unamiYOXv0jq//5+gmokanD4TjTb29gNdUH8ijbYP2fsIT2gvv7KMjOn0s+bm/eUeU07zy39SnLMZe7r8o0RtwNSyrxZ1QzwCNUx0+EVX5wsjgtEdy8sFhXG7UgwOKqEQD1ZHpDrxNDfyuGU0yIBFQVywP/n51TcBMDLG3iC8+yeGec6oJmsy8lX11wrsZiTgM1M7+eLAZfRfRyNKIcC1pY/QhlIaSClaK1h1ec++HSfYkLnaxUNgWmoJWd2XwStr1nv55tlUqZ4gPMAhrAzdn2RRcIYgE="
after_success:
- make dist
- ./.travis_obs.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- libhwloc-common
- libhwloc-dev
- openmpi-bin
- libopenmpi-dev
- rpm
- osc