Redo build matrix on .travis for C++14 and up

* Use Xenial as the base distribution
* Remove C++11 builds
* Add a lot more C++14 builds
* Add some C++17 builds
* Include newer versions of Clang and GCC
This commit is contained in:
Martin Hořeňovský 2019-10-29 23:38:21 +01:00
parent 7c48ea6016
commit 2c6ace04a7
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
5 changed files with 103 additions and 199 deletions

View file

@ -9,12 +9,12 @@
// We need 2 types with non-trivial copies/moves
struct MyType1 {
MyType1() = default;
MyType1(MyType1 const&) { throw 1; }
[[noreturn]] MyType1(MyType1 const&) { throw 1; }
MyType1& operator=(MyType1 const&) { throw 3; }
};
struct MyType2 {
MyType2() = default;
MyType2(MyType2 const&) { throw 2; }
[[noreturn]] MyType2(MyType2 const&) { throw 2; }
MyType2& operator=(MyType2 const&) { throw 4; }
};