gecko-dev/third_party/function2/.travis.yml
Nika Layzell 5caf4ef842 Bug 1743020 - Part 2: Vendor the function2 library, r=glandium,mhoye
The function2 library is a header-only library which provides support
for defining move-only function types, similar to the proposed
std::move_only_function in C++23, but with support for additional
customization.

This appears to be the first time we've vendored code using the boost
license, so I've added it to license.html and moz_yaml.py, and have
requested review to ensure it is OK to use code with this license.

Differential Revision: https://phabricator.services.mozilla.com/D145690
2022-06-02 13:24:10 +00:00

94 lines
1.7 KiB
YAML

sudo: true
dist: trusty
language: cpp
cache: apt
git:
depth: 1
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- valgrind
- ninja-build
env:
- COMPILER=g++-5
- NO_EXCEPTIONS=OFF
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- valgrind
- ninja-build
env:
- COMPILER=g++-6
- NO_EXCEPTIONS=OFF
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- valgrind
- ninja-build
env:
- COMPILER=g++-6
- NO_EXCEPTIONS=ON
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- g++-6
- clang-5.0
- ninja-build
env:
- COMPILER=clang++-5.0
- NO_EXCEPTIONS=OFF
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- g++-6
- clang-5.0
- ninja-build
env:
- COMPILER=clang++-5.0
- NO_EXCEPTIONS=ON
install:
- export CXX=$COMPILER
- $CXX --version
- chmod +x tools/travis-ci.sh
script:
- ./tools/travis-ci.sh
notifications:
email: false