Fix travis build
Summary: Building on osx machines makes things a lot easier. Differential Revision: D3693987 fbshipit-source-id: f6e2599f99a3fd4ac6fb2a6efd5563074da707d0
This commit is contained in:
committed by
Facebook Github Bot 7
parent
759cb707a4
commit
450472766d
23
.travis.yml
23
.travis.yml
@@ -1,15 +1,22 @@
|
|||||||
language:
|
# Copyright (c) 2014-present, Facebook, Inc.
|
||||||
- c
|
# All rights reserved.
|
||||||
- java
|
#
|
||||||
|
# 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
|
compiler: clang
|
||||||
|
|
||||||
install:
|
before_install:
|
||||||
- git clone https://github.com/facebook/buck.git /home/ubuntu/buck
|
- brew update
|
||||||
- cd /home/ubuntu/buck && ant
|
- brew tap facebook/fb
|
||||||
- buck --version
|
- brew install buck
|
||||||
|
- brew outdated xctool || brew upgrade xctool
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- buck test //:CSSLayout
|
- buck test //:CSSLayout
|
||||||
- buck test //:CSSLayout_java
|
- buck test //:CSSLayout_java
|
||||||
- buck run //:CSSLayout:benchmark
|
- buck run //:benchmark
|
||||||
|
Reference in New Issue
Block a user