From 28e9fbeb336cd22e80026efa48bc345a35978bb8 Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Sat, 19 Oct 2019 23:54:38 +0200 Subject: [PATCH] Add travis test --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..96e8d86 --- /dev/null +++ b/.travis.yml @@ -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 + diff --git a/README.md b/README.md index a6bf731..ff1f1fe 100644 --- a/README.md +++ b/README.md @@ -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)