Skip to content

Commit

Permalink
Add continuous integration via Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fruhland committed Oct 16, 2018
1 parent d80ef06 commit 0d6e19a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
language: cpp
compiler: gcc

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- libibverbs-dev
- libibmad-dev
- libibumad-dev
- libibnetdisc-dev
- libopensm-dev

before_install:
- eval "CC=gcc-5 && CXX=g++-5"

stages:
- name: build

jobs:
include:
- stage: build
script: ./build.sh

before_deploy: tar -cf ibperf-monitor-${TRAVIS_TAG}.tar -C build/ ar/libCursesLib.a bin/IbPerfMon bin/WindowTest

deploy:
provider: releases
api_key: ${ACCESS_TOKEN}
file: ibperf-monitor-${TRAVIS_TAG}.tar
skip_cleanup: true
overwrite: true
on:
repo: hhu-bsinfo/ibperf-monitor
branch: master
tags: true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# IbPerfMonitor
# IbPerfMonitor: A monitoring tool for InfiniBand networks

A monitoring tool for Infiniband networks.
[![Build Status](https://travis-ci.org/hhu-bsinfo/ibperf-monitor.svg?branch=master)](https://travis-ci.org/hhu-bsinfo/ibperf-monitor)

This project uses the libibmad- and libibnetdisc-libraries to automatically discover all Infiniband devices in a
This project uses the libibmad- and libibnetdisc-libraries to automatically discover all InfiniBand devices in a
network and read their performance counters.

# Build instructions
Expand Down
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ endif ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")

# For development: Uncomment this line to compile with sanitizers to debug memory errors and leaks
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fno-omit-frame-pointer -fsanitize=address")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fno-omit-frame-pointer -fsanitize=address")

# Add IbPerfLib as external project
ExternalProject_Add(IbPerfLib_git
Expand Down

0 comments on commit 0d6e19a

Please sign in to comment.