add unit tests and determine version from GIT_TAG (#66)

* add unit tests

* determine package version from git tag. closes #54.

* update readme

* bugfix

* update example

* update gitignore
This commit is contained in:
Lars Melchior
2019-06-22 13:31:32 +02:00
committed by GitHub
parent 1e25367c8c
commit 3d75ed06a3
10 changed files with 113 additions and 11 deletions

View File

@@ -44,5 +44,9 @@ before_install:
- cmake --version
script:
# unit tests
- cmake -Htest -Bbuild/test
- CTEST_OUTPUT_ON_FAILURE=1 cmake --build build/test --target test
# examples
- python3 examples/run_all.py