Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into reshard
Browse files Browse the repository at this point in the history
  • Loading branch information
rongou committed Apr 29, 2019
2 parents 82b3a52 + 5e582b0 commit ea15c89
Show file tree
Hide file tree
Showing 52 changed files with 1,543 additions and 966 deletions.
49 changes: 1 addition & 48 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,22 @@ sudo: required

# Enabling test on Linux and OS X
os:
- linux
- osx

osx_image: xcode9.3

# Use Build Matrix to do lint and build seperately
env:
matrix:
# code lint
- TASK=lint
# r package test
- TASK=r_test
# python package test
- TASK=python_test
- TASK=python_lightweight_test
# java package test
- TASK=java_test
# cmake test
- TASK=cmake_test
# c++ test
- TASK=cpp_test
# distributed test
- TASK=distributed_test
# address sanitizer test
- TASK=sanitizer_test

matrix:
exclude:
- os: osx
env: TASK=lint
- os: osx
env: TASK=cmake_test
- os: linux
env: TASK=r_test
- os: osx
env: TASK=python_lightweight_test
- os: osx
env: TASK=cpp_test
- os: osx
env: TASK=distributed_test
- os: osx
env: TASK=sanitizer_test
# - TASK=cmake_test

# dependent apt packages
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- clang
- clang-tidy-5.0
- cmake-data
- doxygen
- wget
- libcurl4-openssl-dev
- unzip
- graphviz
- gcc-5
- g++-5
- gcc-7
- g++-7
homebrew:
packages:
- gcc@7
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ else ()
endif (MINGW OR R_LIB)
add_library(rabit STATIC ${RABIT_SOURCES})
target_include_directories(rabit PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/rabit/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/dmlc-core/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/rabit/include/rabit>)
set_target_properties(rabit
PROPERTIES
Expand Down
Loading

0 comments on commit ea15c89

Please sign in to comment.