From 7b186102530539fb1d50e787a8027d264a6c58ae Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 3 Feb 2018 20:52:00 -0500 Subject: ... --- .travis.yml | 27 ++++++++++++++++++--------- 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}" diff --git a/README.rst b/README.rst index 3a95254..42417b5 100644 --- a/README.rst +++ b/README.rst @@ -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 -- cgit v1.2.3-70-g09d2