From 19c133970c87121404459b9e2ae8e330f05d3a25 Mon Sep 17 00:00:00 2001 From: ceeac Date: Mon, 29 Apr 2019 19:28:48 +0200 Subject: [PATCH] Try to run macOS job on Travis --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 78d3e6553..cdb776f80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,15 @@ install: matrix: include: + - os: osx + osx_image: xcode10 + install: + before_script: + - brew install git cmake qt capstone bison flex + - mkdir build && cd build + script: + - cmake -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5/ -DFLEX_EXECUTABLE=$(brew --prefix flex)/bin/flex -DBISON_EXECUTABLE=$(brew --prefix bison)/bin/bison .. + - make -j$(sysctl -n hw.ncpu) - env: - TARGET="source-check" before_script: @@ -44,7 +53,6 @@ matrix: lcov --list coverage.info" - echo "Uploading CodeCov reports" && bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X xcode -F unittests -s "$(pwd)/build" || echo \"CodeCov coverage report generation failed!\" - before_script: - docker exec -t build-env bash -c "cd boomerang && mkdir build &&