Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Refactor Jenkins CI pipeline + migrate all Linux tests to Jenkins #4401

Merged
merged 42 commits into from
Apr 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
e49e0e4
[WIP] Refactor Jenkins CI pipeline
hcho3 Apr 17, 2019
6b0bbeb
Exclude symlinks in Python package when linting
hcho3 Apr 23, 2019
827fc9c
Fix Maven repo caching
hcho3 Apr 23, 2019
2519b95
Purge build/ directory before building JVM packages
hcho3 Apr 23, 2019
963f7cc
Do not run JVM tests in build stage
hcho3 Apr 23, 2019
15fee1c
Create test JARs
hcho3 Apr 23, 2019
84ae94b
Remove build/ before building JVM doc
hcho3 Apr 23, 2019
db6eaf2
Make test jar only for ml.dmlc.xgboost4j
hcho3 Apr 24, 2019
fcb5f42
Re-enable tests in Build stage
hcho3 Apr 24, 2019
ed2b096
Add cross version test for ml.dmlc.xgboost4j
hcho3 Apr 24, 2019
933b273
Clean workspace after stages
hcho3 Apr 24, 2019
157bb5d
Use only 4 cores to test XGBoost4J-Spark
hcho3 Apr 24, 2019
c74bed3
Need to unstash for build-jvm-packages
hcho3 Apr 24, 2019
a630f6c
Add JDK version to container name
hcho3 Apr 24, 2019
9f33ad4
Unstash 'srcs' for test-jvm-jdk*
hcho3 Apr 24, 2019
3ec69fa
Fix syntax on Dockerfile.jvm_cross
hcho3 Apr 24, 2019
a59a557
Install maven in jvm_cross
hcho3 Apr 24, 2019
c7b50a8
Install Python in jvm_cross
hcho3 Apr 24, 2019
e4557d0
Fix path of stashed JARs
hcho3 Apr 24, 2019
ae593fd
Install libgomp1 in jvm_cross
hcho3 Apr 24, 2019
851008d
Suppress download progress in CI
hcho3 Apr 24, 2019
5e6f284
Set correct Java version in JVM tests
hcho3 Apr 24, 2019
baa07db
Run Spark integration tests in jvm_cross
hcho3 Apr 24, 2019
7701675
Add build for CPU, GPU targets
hcho3 Apr 24, 2019
76ce9fa
Limit parallel compilation to nproc, to avoid memory shortage
hcho3 Apr 24, 2019
10be1db
Run integration tests for JVM packages
hcho3 Apr 24, 2019
f9c4dc3
Add C++ and Python tests
hcho3 Apr 24, 2019
44ff569
Fix Python test test_sklearn_nfolds_cv
hcho3 Apr 25, 2019
683e2c6
Test R package
hcho3 Apr 25, 2019
9a4ee23
Remove redundant tests from Travis CI
hcho3 Apr 25, 2019
59b0213
Use archive URL for Spark 2.4.1
hcho3 Apr 25, 2019
17e06f6
Fix R tests
hcho3 Apr 25, 2019
6bcf2a8
Fix travis CI
hcho3 Apr 26, 2019
997e460
Migrate distributed_test, sanitizer_test to Jenkins
hcho3 Apr 26, 2019
e6d7a68
Use correct version of libasan
hcho3 Apr 26, 2019
09f4345
Use local variables with defined scoping in Jenkinsfile
hcho3 Apr 26, 2019
63d6e25
disable leak detection in address sanitizer
hcho3 Apr 26, 2019
e177ad1
Re-enable leak detection in Sanitizer test
hcho3 Apr 26, 2019
a12e7eb
Fix cmake_test on Mac
hcho3 Apr 26, 2019
48843a2
Disable second Spark integration test due to #4406
hcho3 Apr 26, 2019
c516824
Fix bash syntax
hcho3 Apr 26, 2019
fbb4442
Remove cmake_test from Mac for now
hcho3 Apr 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading