Summary: Java tests need to run with java 8, ensure travis runs java 8 Reviewed By: gkassabli Differential Revision: D4182384 fbshipit-source-id: 61ba77d3e0f008f50912d088d3e504cb96e46bdc
31 lines
927 B
YAML
31 lines
927 B
YAML
# 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 //:CSSLayout
|
|
- buck test //java:java
|
|
- buck test //CSSLayoutKit:CSSLayoutKit --config cxx.default_platform=iphonesimulator-x86_64
|
|
- sh csharp/tests/Facebook.CSSLayout/test_macos.sh
|
|
- buck run //benchmark:benchmark
|
|
- git checkout HEAD^
|
|
- buck run //benchmark:benchmark
|