# Copyright (c) 2014-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. os: osx osx_image: xcode7.3 language: cpp compiler: clang before_install: - brew update - brew tap facebook/fb - brew install buck - brew cask install java - brew outdated xctool || brew upgrade xctool - brew install mono - export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) - export PATH=$JAVA_HOME/bin:$PATH script: - buck test //:yoga - buck test //java:java - buck test //YogaKit:YogaKitTests --config cxx.default_platform=iphonesimulator-x86_64 --config cxx.cflags=-DTRAVIS_CI - sh csharp/tests/Facebook.Yoga/test_macos.sh - buck run //benchmark:benchmark - git checkout HEAD^ - buck run //benchmark:benchmark