language: cpp
dist: focal

os:
  - linux
  - osx
  - windows

compiler:
  - gcc
  - clang

script:
  - mkdir bld
  - cd bld
  - cmake -D CIMGUI_TEST=1 ..
  - cmake --build .
  - |
    if [ "$TRAVIS_OS_NAME" == "windows" ]; then
      ./Debug/cimgui_test.exe
    else
      ./cimgui_test
    fi
