diff options
Diffstat (limited to '.travis/macos/build.sh')
| -rwxr-xr-x | .travis/macos/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis/macos/build.sh b/.travis/macos/build.sh new file mode 100755 index 000000000..c957cdf21 --- /dev/null +++ b/.travis/macos/build.sh | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/bin/bash -ex | ||
| 2 | |||
| 3 | set -o pipefail | ||
| 4 | |||
| 5 | export MACOSX_DEPLOYMENT_TARGET=10.9 | ||
| 6 | export Qt5_DIR=$(brew --prefix)/opt/qt5 | ||
| 7 | |||
| 8 | mkdir build && cd build | ||
| 9 | cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release | ||
| 10 | make -j4 | ||
| 11 | |||
| 12 | ctest -VV -C Release | ||