diff options
-rw-r--r-- | .travis.yml | 27 | ||||
-rw-r--r-- | README.rst | 6 |
2 files changed, 24 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index cd8cff8..83b2428 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,9 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-4.9 + - g++-5 env: - - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" + - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5" # works on Precise and Trusty - os: linux @@ -19,9 +19,9 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-5 + - g++-6 env: - - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5" + - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" # works on Precise and Trusty - os: linux @@ -30,20 +30,29 @@ matrix: sources: - ubuntu-toolchain-r-test packages: - - g++-6 + - g++-7 env: - - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" - # works on Precise and Trusty - os: linux addons: apt: sources: - ubuntu-toolchain-r-test packages: - - g++-7 + - clang-3.4 env: - - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" + - MATRIX_EVAL="CC=clang-3.4 && CXX=clang++-3.4" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - clang-5 + env: + - MATRIX_EVAL="CC=clang-5 && CXX=clang++-5" before_install: - eval "${MATRIX_EVAL}" @@ -1,6 +1,12 @@ CPPromise ========= +.. image:: https://img.shields.io/travis/Determinant/cppromise.svg + :target: https://github.com/Determinant/cppromise + +.. image:: https://img.shields.io/github/license/Determinant/cppromise.svg + :target: https://github.com/Determinant/cppromise + This is a lightweight C++14/17 compatiable implementation of promises (similar to Javascript Promise/A+). It allows type-safe polymorphic promises and incurs little runtime overhead. The runtime type-checking is enforced and supported by |