Skip to content

Commit

Permalink
[CI] Use gcc-10 to run export_lib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Jan 9, 2021
1 parent 6041daa commit 0020e65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ addons:
homebrew:
packages:
- cmake
- gcc@7
- gcc@10
- libomp
- wget
- lcov
Expand Down
6 changes: 3 additions & 3 deletions tests/travis/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ then
python -m pip install xgboost
python -m pip install lightgbm codecov
./build/treelite_cpp_test
export GCC_PATH=gcc-7
export GCC_PATH=gcc-10
PYTHONPATH=./python:./runtime/python python -m pytest --cov=treelite --cov=treelite_runtime -v --fulltrace tests/python
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info '*dmlccore*' --output-file coverage.info
Expand Down Expand Up @@ -92,7 +92,7 @@ then
conda install -c conda-forge numpy scipy pandas pytest scikit-learn coverage
python -m pip install xgboost
python -m pip install lightgbm
export GCC_PATH=gcc-7
export GCC_PATH=gcc-10
python -m pytest -v --fulltrace tests/python

# Deploy binary wheel to S3
Expand Down Expand Up @@ -124,7 +124,7 @@ if [ ${TASK} == "python_sdist_test" ]; then
conda install -c conda-forge numpy scipy pandas pytest scikit-learn coverage
python -m pip install xgboost
python -m pip install lightgbm
export GCC_PATH=gcc-7
export GCC_PATH=gcc-10
python -m pytest -v --fulltrace tests/python

# Deploy source wheel to S3
Expand Down

0 comments on commit 0020e65

Please sign in to comment.