Skip to content

Commit

Permalink
Add travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Oct 22, 2019
1 parent 32d224a commit 28e9fbe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: cpp
sudo: required
dist: bionic

os:
- linux
- osx

compiler:
- gcc
- clang

before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then
sudo apt-get update -qq;
sudo apt-get install -y --no-install-recommends libxrandr-dev libxi-dev libxxf86vm-dev libsdl2-dev;
fi

script:
- cmake -B_build -H. || true
- cmake --build _build --target gl3w_gen
- cmake -B_build -H. # Second time for gl3w
- cmake --build _build --target imgui-flame-graph-example

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# imgui-flame-graph
# Dear ImGui Flame Graph Widget
[![Build Status](https://api.travis-ci.org/bwrsandman/imgui-flame-graph.svg?branch=master)](https://travis-ci.org/bwrsandman/imgui-flame-graph)

A Dear ImGui Widget for displaying Flame Graphs.

![flame-graph](https://user-images.githubusercontent.com/1013356/67159752-54a87880-f349-11e9-9df5-628594b3a745.gif)
Expand Down

0 comments on commit 28e9fbe

Please sign in to comment.