This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
forked from shs96c/buck
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'facebook/master'
- Loading branch information
Showing
1,448 changed files
with
42,862 additions
and
19,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v2017.11.16.01 | ||
v2018.02.16.01 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,157 @@ | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
env: | ||
- CI_ACTION=build | ||
- CI_ACTION=unit | ||
- CI_ACTION=integration | ||
- CI_ACTION=heavy_integration | ||
- CI_ACTION=ant | ||
language: android | ||
|
||
dist: trusty | ||
matrix: | ||
include: | ||
- os: linux | ||
jdk: oraclejdk8 | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
env: CI_ACTION=build | ||
# ANDROID_SDK is required for build. | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- os: linux | ||
jdk: openjdk8 | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
env: CI_ACTION=build | ||
# ANDROID_SDK is required for build. | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- os: linux | ||
jdk: openjdk8 | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
- groovy | ||
env: CI_ACTION=unit GROOVY_HOME=/usr/share/groovy/ | ||
# ANDROID_SDK is required for build. | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- os: linux | ||
jdk: openjdk8 | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
env: CI_ACTION=ant | ||
# ANDROID_HOME required for javadoc verification. | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- os: linux | ||
jdk: openjdk8 | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
- groovy | ||
# We rely on -gno-record-gcc-switches which was added in 4.7. | ||
- gcc | ||
- g++ | ||
# Haskell tests require GHC (and at least version 7.6). | ||
- ghc | ||
# base ghc package does not include dynamic libraries | ||
# https://stackoverflow.com/a/11711501/1548477 | ||
- ghc-dynamic | ||
env: CI_ACTION=integration GROOVY_HOME=/usr/share/groovy/ | ||
# ANDROID_SDK is required for build. | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- os: linux | ||
jdk: openjdk8 | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.2 | ||
- android-23 | ||
- addon-google_apis-google-23 | ||
- android-21 | ||
- addon-google_apis-google-21 | ||
- extra-android-support | ||
dist: trusty | ||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
# Travis is on 64bit and there will be a cryptic aapt error w/o these libs. | ||
# For native code tests, we need some additional libraries if we are in a 64-bit environment. | ||
- libgd2-xpm-dev | ||
- libc6:i386 | ||
- libstdc++6:i386 | ||
- zlib1g:i386 | ||
# We rely on -gno-record-gcc-switches which was added in 4.7. | ||
- gcc | ||
- g++ | ||
# Haskell tests require GHC (and at least version 7.6). | ||
- ghc | ||
# base ghc package does not include dynamic libraries | ||
# https://stackoverflow.com/a/11711501/1548477 | ||
- ghc-dynamic | ||
# https://docs.travis-ci.com/user/caching#Things-not-to-cache | ||
# https://docs.travis-ci.com/user/caching#Explicitly-disabling-caching | ||
cache: | ||
directories: | ||
- $HOME/ndk_cache | ||
env: CI_ACTION=heavy_integration | ||
|
||
# Enable container-based architecture. | ||
sudo: false | ||
|
||
addons: | ||
apt: | ||
sources: | ||
# For newer gcc than precise supports out of the box. | ||
- ubuntu-toolchain-r-test | ||
# For newer ghc than precise supports out of the box. | ||
- hvr-ghc | ||
packages: | ||
# Travis is on 64bit and there will be a cryptic aapt error w/o these libs. | ||
# For native code tests, we need some additional libraries if we are in a 64-bit environment. | ||
- libgd2-xpm-dev | ||
- libc6:i386 | ||
- libstdc++6:i386 | ||
- zlib1g:i386 | ||
- groovy | ||
# We rely on -gno-record-gcc-switches which was added in 4.7. | ||
- gcc-4.7 | ||
- g++-4.7 | ||
# Getting compile errors on javac 1.8.0_31-b13 | ||
- oracle-java8-installer | ||
# Haskell tests require GHC (and at least version 7.6). | ||
- ghc-8.0.2 | ||
|
||
before_install: | ||
- rm -rf ${HOME}/travis-cxx | ||
- mkdir ${HOME}/travis-cxx | ||
- ln -s /usr/bin/gcc-4.7 ${HOME}/travis-cxx/gcc | ||
- ln -s /usr/bin/g++-4.7 ${HOME}/travis-cxx/g++ | ||
- export PATH=${HOME}/travis-cxx:$PATH | ||
# Install ant on MacOS | ||
- if \[ ${TRAVIS_OS_NAME} == "osx" \]; then brew install ant; fi | ||
# Limit Ant's and Buck's memory usage to avoid the OOM killer. | ||
- export ANT_OPTS='-Xmx500m' | ||
- echo '-Xmx500m' > .buckjavaargs.local | ||
# Set up the Android environment. | ||
- export NDK_HOME=${HOME}/android-ndk-linux | ||
- ./scripts/travisci_install_android_ndk.sh | ||
- export ANDROID_HOME=${HOME}/android-sdk-linux | ||
- ./scripts/travisci_install_android_sdk.sh | ||
# Install go 1.5 | ||
- eval "$(gimme 1.5)" | ||
# Set up the Android environment. Only for Linux. | ||
- if \[ ${TRAVIS_OS_NAME} == "linux" \] && \[ "${CI_ACTION}" == "heavy_integration" \]; then | ||
export NDK_HOME="${HOME}/android-ndk-linux" ; | ||
./scripts/travisci_install_android_ndk.sh ; | ||
fi | ||
# Install go 1.8, required for cgo -srcdir flag to work | ||
- eval "$(gimme 1.8)" | ||
- echo -e "[go]\n root = ${GOROOT}" >> .buckconfig.local | ||
# Set up the Groovy environment | ||
- export GROOVY_HOME=/usr/share/groovy/ | ||
# Haskell setup: | ||
- export PATH=/opt/ghc/8.0.2/bin:$PATH | ||
|
||
# Buck dependencies are checked in, so no need to download dependencies | ||
install: true | ||
|
||
# https://docs.travis-ci.com/user/caching#Things-not-to-cache | ||
# https://docs.travis-ci.com/user/caching#Explicitly-disabling-caching | ||
cache: | ||
directories: | ||
- $HOME/ndk_cache | ||
- $HOME/sdk_cache | ||
|
||
notifications: | ||
slack: | ||
rooms: | ||
secure: SYKQV9DT55kHf5Mpe6g5a3NmGXJb5E7kWiLulRp+EmKDIhf3lVmxGbx4Yr/TKZixbNILsPzhhiB56V0H+0mAgMpygVXaq4M9eSHKLljJEmEdeLKmQaRuOUikMOkpLsHw/epvmqrsvlb3yVpsJZZhhHmi9B0oQc0AnjpL/qLBaZE= | ||
# Send Travis CI notifications to internal sytems like Phabricator. | ||
webhooks: https://code.facebook.com/travis/webhook/ | ||
|
||
script: | ||
- ./scripts/travisci_run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.