diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7a10169..0000000 --- a/.travis.yml +++ /dev/null @@ -1,164 +0,0 @@ -os: linux -dist: trusty -sudo: false -group: travis_latest -language: c++ -cache: ccache - -addons: - apt: - sources: &apt_sources - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.5 - - llvm-toolchain-precise-3.6 - - llvm-toolchain-precise-3.7 - - llvm-toolchain-precise-3.8 - - llvm-toolchain-trusty-3.9 - - llvm-toolchain-trusty-4.0 - - llvm-toolchain-trusty-5.0 - - llvm-toolchain-trusty-6.0 - -matrix: - include: - - os: linux - env: COMPILER=g++-4.8 - compiler: gcc - addons: &gcc4_8 - apt: - packages: ["g++-4.8", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=g++-4.9 - compiler: gcc - addons: &gcc4_9 - apt: - packages: ["g++-4.9", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=g++-5 - compiler: gcc - addons: &gcc5 - apt: - packages: ["g++-5", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=g++-6 - compiler: gcc - addons: &gcc6 - apt: - packages: ["g++-6", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=g++-7 - compiler: gcc - addons: &gcc7 - apt: - packages: ["g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=g++-8 - compiler: gcc - addons: &gcc8 - apt: - packages: ["g++-8", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-3.5 - compiler: clang - addons: &clang3_5 - apt: - packages: ["clang-3.5", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-3.6 - compiler: clang - addons: &clang3_6 - apt: - packages: ["clang-3.6", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-3.7 - compiler: clang - addons: &clang3-7 - apt: - packages: ["clang-3.7", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-3.8 - compiler: clang - addons: &clang3_8 - apt: - packages: ["clang-3.8", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-3.9 - compiler: clang - addons: &clang3_9 - apt: - packages: ["clang-3.9", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-4.0 - compiler: clang - addons: &clang4_0 - apt: - packages: ["clang-4.0", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-5.0 - compiler: clang - addons: &clang5_0 - apt: - packages: ["clang-5.0", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: linux - env: COMPILER=clang++-6.0 - compiler: clang - addons: &clang6_0 - apt: - packages: ["clang-6.0", "g++-7", "python3-pip", "lcov"] - sources: *apt_sources - - - os: osx - osx_image: xcode7.3 - compiler: clang - env: COMPILER='clang++' - - - os: osx - osx_image: xcode8 - compiler: clang - env: COMPILER='clang++' - - - os: osx - osx_image: xcode9 - compiler: clang - env: COMPILER='clang++' - - - os: osx - osx_image: xcode10 - compiler: clang - env: COMPILER='clang++' - - allow_failures: - - env: COMPILER=g++-4.8 - -script: - - export CXX=${COMPILER} - - JOBS=2 # Travis machines have 2 cores. - - mkdir build && cd build - - cmake -G "Unix Makefiles" -DNSSTSV_OPT_BUILD_TESTS=ON -DNSSTSV_OPT_BUILD_EXAMPLES=ON .. - - cmake --build . -- -j${JOBS} - - ctest --output-on-failure -j${JOBS} diff --git a/README.md b/README.md index 9b81029..a509302 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # status_value: A class for status and optional value for C++11 and later -[![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![Language](https://img.shields.io/badge/C%2B%2B-98-orange.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml/badge.svg)](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml) [![Build Status](https://travis-ci.org/martinmoene/status-value-lite.svg?branch=master)](https://travis-ci.org/martinmoene/status-value-lite) [![Build status](https://ci.appveyor.com/api/projects/status/i51ywyur2brx7r5q?svg=true)](https://ci.appveyor.com/project/martinmoene/status-value-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstatus-value-lite.svg)](https://github.com/martinmoene/status-value-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/raw/martinmoene/status-value-lite/master/include/nonstd/status_value.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://conan.io/center/status-value-lite) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/eRfjw7PDzh3ZOipS) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](https://godbolt.org/z/363wp-) +[![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![Language](https://img.shields.io/badge/C%2B%2B-98-orange.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml/badge.svg)](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml) [![Build status](https://ci.appveyor.com/api/projects/status/i51ywyur2brx7r5q?svg=true)](https://ci.appveyor.com/project/martinmoene/status-value-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstatus-value-lite.svg)](https://github.com/martinmoene/status-value-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/raw/martinmoene/status-value-lite/master/include/nonstd/status_value.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://conan.io/center/status-value-lite) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/eRfjw7PDzh3ZOipS) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](https://godbolt.org/z/363wp-) status_value is a single-file header-only library for objects that represent a status and an optional value. It is intended for use with C++11 and later. There is a [separate variant](README_cpp98.md) for use with C++98 and later. diff --git a/README_cpp98.md b/README_cpp98.md index 64dec34..3985e89 100644 --- a/README_cpp98.md +++ b/README_cpp98.md @@ -1,6 +1,6 @@ # status_value cpp98: A class for status and optional value for C++98 and later -[![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![Language](https://img.shields.io/badge/C%2B%2B-98-orange.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml/badge.svg)](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml) [![Build Status](https://travis-ci.org/martinmoene/status-value-lite.svg?branch=master)](https://travis-ci.org/martinmoene/status-value-lite) [![Build status](https://ci.appveyor.com/api/projects/status/i51ywyur2brx7r5q?svg=true)](https://ci.appveyor.com/project/martinmoene/status-value-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstatus-value-lite.svg)](https://github.com/martinmoene/status-value-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/raw/martinmoene/status-value-lite/master/include/nonstd/status_value_cpp98.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://conan.io/center/status-value-lite) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/eRfjw7PDzh3ZOipS) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](https://godbolt.org/z/363wp-) +[![Language](https://img.shields.io/badge/C%2B%2B-11-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![Language](https://img.shields.io/badge/C%2B%2B-98-orange.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-BSL-blue.svg)](https://opensource.org/licenses/BSL-1.0) [![Build Status](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml/badge.svg)](https://github.com/martinmoene/status-value-lite/actions/workflows/ci.yml) [![Build status](https://ci.appveyor.com/api/projects/status/i51ywyur2brx7r5q?svg=true)](https://ci.appveyor.com/project/martinmoene/status-value-lite) [![Version](https://badge.fury.io/gh/martinmoene%2Fstatus-value-lite.svg)](https://github.com/martinmoene/status-value-lite/releases) [![download](https://img.shields.io/badge/latest-download-blue.svg)](https://github.com/raw/martinmoene/status-value-lite/master/include/nonstd/status_value_cpp98.hpp) [![Conan](https://img.shields.io/badge/on-conan-blue.svg)](https://conan.io/center/status-value-lite) [![Try it on wandbox](https://img.shields.io/badge/on-wandbox-blue.svg)](https://wandbox.org/permlink/eRfjw7PDzh3ZOipS) [![Try it on godbolt online](https://img.shields.io/badge/on-godbolt-blue.svg)](https://godbolt.org/z/363wp-) status_value is a single-file header-only library for objects that represent a status and an optional value. This variant is intended for use with C++98 and later. The library is based on the proposal for status_value [[1](#ref1)]. diff --git a/project/CodeBlocks/status_value.cbp b/project/CodeBlocks/status_value.cbp index accea7c..daa481d 100644 --- a/project/CodeBlocks/status_value.cbp +++ b/project/CodeBlocks/status_value.cbp @@ -29,7 +29,6 @@ -