diff options
| -rw-r--r-- | .travis.yml | 31 | ||||
| -rw-r--r-- | README.rst | 7 |
2 files changed, 36 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5091396 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +os: linux +language: python +python: "3.7" +dist: bionic + +addons: + apt: + sources: + - sourceline: "ppa:ubuntu-toolchain-r/test" + packages: ['g++-9'] + +compiler: + - gcc + +env: + - CXX=g++-9 + +cache: + directories: + - $HOME/.conan/data + +install: + - pip install conan + - conan user + +script: + - mkdir -p build + - cd build + - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON .. + - cmake --build . --target all + - ctest @@ -4,7 +4,7 @@ newtype The `newtype` library provides types and functions to facilitate the creation of strong type aliases. -|c++20| |license| |docs| |btc| +|c++20| |license| |docs| |travis| |btc| Usage ===== @@ -25,4 +25,7 @@ Please `Read the Docs <https://newtype.rtfd.io>`_ for an introduction to the lib .. |btc| image:: https://img.shields.io/badge/Support-BTC-yellow :alt: Support the project with Bitcoin - :target: bitcoin:14NhzUxmcXaXwLQQcj5UhDvSuxA6hmGkkg?label=Donation%20to%20%27fmorgner%2Fnew_type%27&message=Thanks%20for%20your%20work%20on%20%27fmorgner%2Fnewtype%27
\ No newline at end of file + :target: bitcoin:14NhzUxmcXaXwLQQcj5UhDvSuxA6hmGkkg?label=Donation%20to%20%27fmorgner%2Fnew_type%27&message=Thanks%20for%20your%20work%20on%20%27fmorgner%2Fnewtype%27 + +.. |travis| image:: https://travis-ci.org/fmorgner/newtype.svg?branch=master + :target: https://travis-ci.org/fmorgner/newtype
\ No newline at end of file |
