From 6cf420b91bcfdd25310498fca9de24566f2e6efa Mon Sep 17 00:00:00 2001 From: Peter Vingelmann Date: Mon, 9 Sep 2019 20:33:23 +0200 Subject: [PATCH] Add travis --- .travis.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0a87355 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: bash +matrix: + include: + - name: Linux Ubuntu 16 - g++ 5 + os: linux + dist: xenial + compiler: gcc + - name: Linux Ubuntu 18 - g++ 7 + os: linux + dist: bionic + compiler: gcc + - name: Linux Ubuntu 18 - clang 7 + os: linux + dist: bionic + compiler: clang + env: + - CXX=clang++ + - name: MacOSX 10.14 - XCode 11 + os: osx + osx_image: xcode11 + compiler: clang + - name: Windows - Visual Studio 2017 + os: windows + install: + # git bash changes the codepage to 65001 which breaks waf's msvc tool, + # so we run the configure step in powershell using the 850 codepage + - powershell "chcp 850; python waf configure" +install: + - python waf configure +script: + - python waf build -v + - python waf --run_tests