From de81310bc7300592bfe58b6c843cb15456d7d08b Mon Sep 17 00:00:00 2001 From: simonsan Date: Sun, 13 Oct 2019 23:14:01 +0200 Subject: [PATCH] Adding .travis.yml using clang for MacOSX, Adding table and badges for build status --- .travis.yml | 20 ++++++++++++++++++++ README.md | 5 +++++ 2 files changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2474da9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +os: osx +osx_image: xcode10.2 +language: cpp +script: + - brew update-reset && brew update + - brew upgrade cmake + - brew install flex + - brew install make + - brew install -cc=clang llvm@8 + - export PATH="/usr/local/opt/llvm@8/bin:$PATH:/usr/local/lib:/usr/local/opt/llvm/bin" + - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/local/lib" + - mkdir build && cd build + - cmake -DCMAKE_CXX_COMPILER="clang++" .. + - make && make test +before_cache: + - brew cleanup +cache: + directories: + - /usr/local/Homebrew + - $HOME/Library/Caches/Homebrew diff --git a/README.md b/README.md index 78bda1a..a8a301d 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,11 @@ All of those observations are intended, not bugs. To get rid of them, recompile with `--dont-segfault --shut-up --new-girlfriend`. +Operating System | Build status +--------------------|-------------- +Debian Sid | tba +MacOSX 10.14 | [![Build Status](https://travis-ci.org/SFTtech/nyan.svg?branch=master)](https://travis-ci.org/SFTtech/nyan) +Windows 10 - x64 | [![Build status](https://ci.appveyor.com/api/projects/status/6t1yonx5fu7dejs0/branch/master?svg=true)](https://ci.appveyor.com/project/simonsan/nyan-c53id/branch/master) If this still does not help, try the [contact section](#contact) or the [bug tracker](https://github.com/SFTtech/nyan/issues).