Граф коммитов

387 Коммитов

Автор SHA1 Сообщение Дата
Belinda Trotta e50a9151ed
Path smoothing (#2950)
* Path smoothing

* Try to fix issue with gpu version.

* Fix failing CI for R package.

* Minor fixes.

* Minor refactor.

* Restore old code to get CI working.

* Fix style issues.

* Fix ci for R package.

* Minor fixes for docs and code style.

* Update docs.
2020-05-03 13:53:15 +08:00
James Lamb 2c18a0f3ed
[R-package] [ci] Add Windows CI for R package (fixes #2335) (#2936)
* first test of appveyor

* strings are strings

* lil bit of build script

* fixing paths

* removed unnecessary file

* updated CRAN URL

* added a lot more printing

* fixing paths

* more stuff

* fixed paths

* more stuff

* more path guessing

* even more paths

* more stuff

* moar logz

* and now for something totally different

* please work

* ok could be a thing

* changing directories

* we might be in business

* fixed install syntax

* tryinv mingw

* more mingw

* ignore Suggests check

* trying Azure DevOps

* just run bare minimum for Azure DevOps

* fixed  build dir thing

* trying to set libPaths

* more testing

* trying R 3.6.3

* R 3.6.3

* this feels right

* still messing around with libraries

* more paths

* removed duplication in Windows testing code

* simpler

* fixed conda stuff

* more conda stuff

* more fixes

* fixed testing script

* moved AppVeyor setup to the top

* commenting

* ch-ch-ch-ch-chaaaanges

* paths

* plz work

* fixed conda stuff in Windows CI

* uncommented stuff to test a full build

* fixed quotes and removed some unnecessary stuff

* added install.libs.R change

* quotes are impoortant

* added commented-out stuff back in

* added Windows script, download retries, and MSVC linking

* minor fixes

* cleaned up debugging code in FindLibR

* cleaned up debugging code and moved R first in CI

* fixed vsts-ci indentation

* cut documentation stuff out of MSVC build

* fix R CMD check for Azure

* misc whitespace changes

* Added echoing of build logs from R CMD check

* cut out more documentation tests

* fixed NOTE about imports from Matrix

* moved some changes out of this PR and into #2963

* fixed whitespace stuff

* added check on number of NOTES

* adding better checks

* fixing check on NOTEs

* removing unnecessary variable

* Update .ci/test_r_package_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* some changes

* fix quoting

* trying MINGW on Azure DevOps

* fixing paths

* more paths

* fixing paths

* testing paths

* fixing slashes

* pinned CTAN mirror

* get better logs

* made sure Azure finds MinGW, fixed search for LIBR_CORE_LIBRARY, stopped building R docs on Azure

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* added CXX, CC for Windows builds and changed back to building docs on all MINGW builds

* stored LIBR_CORE_LIBRARY hints in one variable

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* increased parallel builds for Azure CI

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-26 16:05:45 -05:00
Nikita Titov 7b3350176d
minor CI scripts update (#3019) 2020-04-23 22:13:28 -05:00
James Lamb 02a0089fc1
[ci] added echoing of R CMD check logs to CI (#3009) 2020-04-22 22:35:56 -05:00
James Lamb 9843506e63
[ci] Changed use of strcpy to snprintf (fixes #1990) (#2973)
* [ci] Changed use of strcpy to snprintf

* fix

* fully enable cpplint
2020-04-16 03:52:45 +01:00
Nikita Titov be591c84f5
[ci] fixed r-lintr version constraint (#2990)
* Update test.sh

* update brew to pull new URL for basictex
2020-04-14 00:13:09 +03:00
Nikita Titov c633c6c2af
[python] Re-enable scikit-learn 0.22+ support (#2949)
* Revert "specify the last supported version of scikit-learn (#2637)"

This reverts commit d100277649.

* ban scikit-learn 0.22.0 and skip broken test

* fix updated test

* fix lint test

* Revert "fix lint test"

This reverts commit 8b4db0805f.
2020-04-10 12:53:21 +09:00
Nikita Titov ce08242567
[ci][docs] downdrage sphinx and fix LaTeX error in R-package tests (#2977)
* downdrage sphinx

* fix latex errors

* Revert "fix latex errors"

This reverts commit 3cdf64748e.

* skip checksum verification
2020-04-07 16:24:09 +03:00
James Lamb 2d4f3909e8
[ci] reduce duplication in Python Windows CI (#2962)
* [ci] reduced duplication in Python Windows CI

* fixed typo

* reorganized

* fixed task name

* Update .ci/test_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* added conda init powershell back

* Update .ci/test_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* Switched to absolute paths

* fixed env variables

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-01 20:38:34 +03:00
James Lamb 84bdf25798
[R-package] adding routine registration in R package (fixes #1910) (#2911) 2020-04-01 11:18:52 -05:00
James Lamb dbc3d05c9c
[R-package] [ci] Add option to skip installation in build_r.R (#2957)
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-30 23:01:29 -05:00
James Lamb 03ce02aa2c
[ci] changed CRAN mirror to fix failing installs (#2954) 2020-03-27 21:57:21 -05:00
James Lamb c870c57a14
added check on number of R CMD CHECK notes (#2942) 2020-03-25 17:00:19 -05:00
James Lamb d42f43132d
[R-package] [ci] added more linters (#2803)
* [R-package] [ci] added more linters

* Update R-package/tests/testthat/test_parameters.R

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* added cbind() to undesirable_function_linter

* fixed linting

* Update .ci/lint_r_code.R

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-17 23:33:29 +03:00
Nikita Titov 676b288d91
[ci] fix R tests for macOS on Azure Pipelines (#2856)
* Update setup.sh

* install only binary R packages on macOS
2020-03-03 15:30:47 +03:00
Guolin Ke 8d90bbe314
Debug flags (#2825)
* add debug mode in camke

* add debug dll

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* fix naming

* Apply suggestions from code review

* Apply suggestions from code review

* Update LightGBM.sln

* refine

* run MPI job in debug mode

* document USE_DEBUG and USE_TIMETAG

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-01 08:15:25 +08:00
Nikita Titov 9d76066562
[ci] bump Azure image versions (#2822)
* bump Azure image versions

* fixed Windows builds
2020-02-26 11:53:50 +08:00
Nikita Titov b588cae2a5 [ci] indicate support only for the last 3 macOS versions in wheel name (#2691)
* indicate support only for the last 3 macOS versions in wheel name

* document support only for 3 newest macOS versions
2020-01-15 22:16:55 -06:00
Nikita Titov 8944b5e6b9
removed OpenMP ugly fix for Mojave (#2674)
* removed OpenMP ugly fix for Mojave as it's fixed in latest CMake

* test: switch compilers

* switch compilers back
2020-01-12 16:51:27 +03:00
James Lamb d0bd8270ed [R-package] [ci] removed TODOs in code (#2667)
* [R-package] removed TODOs in code

* [ci] added to-do to TODO comment linter
2020-01-06 18:11:28 +03:00
Nikita Titov d100277649 specify the last supported version of scikit-learn (#2637) 2019-12-19 19:00:29 +08:00
James Lamb 86ca484508
[R-package][ci] added CI stage for R package (fixes #2335, fixes #2569) (#2530) 2019-12-15 12:01:01 -06:00
James Lamb 1f7b06b983 [R-package][ci] Added more R linters (fixes #2477) (#2533)
* Added more linters on R code

* started working on implicit integers

* finished style changes to handle implicit integers

* regenned documentation and added concatenation linter

* changed channel for r-lintr

* try building stringi before lintr

* trying to get libicui18n

* trying another thing

* trying conda-forge again

* added re-install of stringi

* uncommented other stages

* Update .ci/test.sh

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* removed apt update and changed lintr version floor

* get lintr from CRAN

* R needs to come before C++ linting

* testing lintr install from CRAN

* trying one more thing

* more verbose

* order might matter

* removed commented code

* cleaned up linting block in test.sh

* grouped conda install calls and fixed a few integer array things
2019-11-17 00:12:38 +03:00
Nikita Titov 76bda1e257 support Catalina (#2556) 2019-11-10 16:22:39 -06:00
Nikita Titov 785e477856 [ci] removed temp fix for Graphviz from conda (#2551) 2019-11-07 21:42:29 -06:00
James Lamb 7cfb492e77
[ci][R-package] removed outdated comment in lint_r_code.R (#2541) 2019-11-05 16:19:46 -06:00
James Lamb fc991c9d7e
[R-package] added R linting and changed R code to comma-first (fixes #2373) (#2437) 2019-10-24 13:47:26 -07:00
Nikita Titov 44b0acacb2 [ci] removed temp fix #2522 2019-10-22 14:04:00 -07:00
Nikita Titov 2c3ebd94dc [ci] miniconda installer hotfix (#2511)
* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh
2019-10-16 10:57:28 +08:00
Nikita Titov 780a3fdf2f [ci] removed temp fix for missing package (#2493) 2019-10-05 20:56:10 -05:00
Nikita Titov 67099ff8a7
[ci] added build/c++11 to cpplint filter (#2487) 2019-10-02 03:31:45 +03:00
Nikita Titov 6036e07d1f
[ci] move Clang linking into docker (#2476)
* moved clang linking commands to docker

* switch to dev container

* test: switch compilers

* switch compilers back

* switch back to production container
2019-10-01 14:05:25 +03:00
Nikita Titov e6505417ef [ci] removed outdated code (#2475) 2019-09-29 10:58:43 -05:00
Nikita Titov e47d941428 [ci] temp fix for missing dependency on Windows (#2440) 2019-09-24 18:20:32 -05:00
Nikita Titov e77658205d Update setup.sh (#2421) 2019-09-23 19:40:32 -05:00
Nikita Titov 4f89cc1078
[ci] added build/include_subdir check to filter for cpplint (#2427) 2019-09-21 18:37:36 +03:00
Nikita Titov 306c6dbfd5
[ci] added cpplint check (#2416)
* added cpplint heck

* removed TODO from code

* change order of checks
2019-09-19 16:48:53 +03:00
Nikita Titov df26b65d78
[ci][tests] install joblib for test directly (#2374) 2019-09-03 14:08:10 +03:00
Nikita Titov ee28ea36a4
[ci] remove temp fix and fix activation for conda (#2280)
* removed temp fix for conda

* fixed conda activation before any conda command
2019-07-24 15:06:58 +03:00
Nikita Titov 16751b3803
[ci] downgrade conda (#2245)
* Update .appveyor.yml

* Update .vsts-ci.yml

* Update setup.sh
2019-07-01 13:11:10 +03:00
Nikita Titov 62935f5262 updated boost (#2218) 2019-06-30 05:35:54 +01:00
Nikita Titov c9d681ac0d
[ci] migrate to new Dockerfile (#2174)
* migrate Dockerfile

* switch tag back
2019-05-15 18:41:27 +03:00
Nikita Titov 2a3691703c
[ci] added swig compilation on macOS and Windows with artifacts (#2170)
* compile SWIG artifact on Windows

* compile SWIG artifact on Windows

* combined swig and sdist jobs for Linux

* added conditions for artifacts publishing

* added SWIG artifact compilation on macOS

* hotfix

* test: switch compilers

* harsh workaround for OpenMP library conflict

* switch compilers back

* consistent order of tasks in condition

* dummy commit to trigger CI and fix CLA
2019-05-14 14:50:27 +03:00
Nikita Titov 76170788c4
[ci][docs] updated fix for OpenMP conflicts (#2166)
* test: AppleClang on Travis

* updated fix for OpenMP multiple instances

* updated docs

* switch compiler back
2019-05-12 14:19:53 +03:00
Nikita Titov abbbbd7545 [ci] CI fixes (#2161)
* Update setup.sh

* Update test.sh

* Update setup.sh

* test: gcc on Azure

* Update test.sh

* Update setup.sh

* Update test.sh

* switch compiler back on Azure
2019-05-09 09:52:10 +08:00
Guolin Ke 94fbe5bb9f
[docs] updated Microsoft GitHub URL (#2152)
* fix travis badge

* updated GitHub Microsoft URL
2019-05-08 13:51:28 +08:00
Nikita Titov 2c41d15e06 [ci] nose is not needed anymore (#2151) 2019-05-06 09:53:33 +08:00
Nikita Titov cfcc020e58
[ci][docs] generate docs for C API (#2059)
* use file to install deps for docs

* added C_API docs

* use breathe without exhale

* added missed params descriptions and make Doxygen fail for warnings

* escape char hotfix

* ignore unknown directive for rstcheck

* better handle env variable

* hotfix for 'Unknown directive type' error with C_API=NO

* Update .gitignore

* fixed pylint

* use already defined constants in conf.py

* do not suppress Doxygen's output

* addressed review comments

* removed unneeded import
2019-05-05 14:54:37 +03:00
Nikita Titov 40e3048f61
[ci] removed graphviz from docker (#2142) 2019-05-04 21:02:16 +03:00
Nikita Titov 739c2635f4 [ci] added job for swig compilation on Linux with artifacts (#2125)
* added job for swig compilation on Linux with artifacts

* hotfix

* test: SWIG with Clang compiler

* switch compiler back to gcc

* switch to main docker
2019-04-30 12:26:16 +08:00
Nikita Titov 8d2ec69f4f
[python][R][docs][ci] better compatibility with Visual Studio 2019 (#2083)
* set platform via A option

* style hotfix

* updated R installation script

* updated Python installation script

* updated CI test script

* provide VS version-ingependent link for redistributables download

* added link to VS 2019 redistributables

* added VS 2019 match for Boost binaries
2019-04-29 13:34:44 +03:00
Nikita Titov 044a39d0ee [ci] hotfixes (#2132)
* Update Features.rst

* Update .appveyor.yml

* Update test_windows.ps1

* Update test_windows.ps1

* Update .appveyor.yml

* Update test_windows.ps1

* Update .appveyor.yml
2019-04-26 22:06:49 +08:00
Nikita Titov 0e025e9c22 [ci] update macOS on Travis to Mojave (#2086)
* added fix for OpenMP on macOS into test script

* test: AppleClang on Travis

* use Mojave on Travis

* bash hotfix

* get back to gcc compiler on Travis macOS
2019-04-10 23:18:55 +09:00
Nikita Titov 691b842832 [ci] update CI stuff (#2079)
* updated boost submodule

* updated docker with new stable Clang and CMake

* switch to dev docker

* updated setup script

* updated MinGW on Appveyor

* updated Azure config to use docker for GPU task

* do not upgrade gcc - takes too long

* test: switch compilers

* switch compilers back

* get back to main docker
2019-04-09 10:23:32 +08:00
Nikita Titov babe8b313a removed hotfix (#2054) 2019-03-19 07:58:40 +08:00
Nikita Titov b020a25d3d [ci] compatibility hotfix for notebook execution (#2048)
* ci fix

* ci fix for Appveyor

* actually firx Appveyor
2019-03-14 18:45:48 +08:00
Nikita Titov b447a7bc34 fixed conda (#2016) 2019-02-18 14:37:36 +08:00
Nikita Titov 6f548ada45 [ci] refined command status check (#1980)
* refined command status check

* refined Appveyor

* redirect all warnings to stdout
2019-02-02 14:38:19 +08:00
Nikita Titov fe77eac5e7
[tests][python] added test for huge string model (#1964)
* added test for huge string model

* fixed tree sizes field

* simplified model structure

* fixed test and added try/except
2019-01-30 16:34:06 +03:00
Nikita Titov d038aa5716
[ci] updated CMake version in CI Docker image (#1947) 2019-01-15 14:26:11 +03:00
Nikita Titov 19c10824a1
[ci] bump Xcode version on Azure (#1941)
* fixed xcode version

* fixed brew on Travis

* fixed brew on Azure Pipelines
2019-01-14 13:09:59 +03:00
Nikita Titov 1318653ce7
[ci][docs] updated temp fix for warning written to stderr, fixed conda permissions and updated bench link (#1849)
* Update .appveyor.yml

* updated bench link (404)

* fixed conda permission error on Azure

* use stable container
2018-11-21 19:59:55 +03:00
Guolin Ke 69301eada9 [ci] Change conda install location (#1855)
* Update Dockerfile

* Update Dockerfile

* chmod conda folder
2018-11-21 23:30:01 +08:00
Nikita Titov a694712b7f
[ci][python] fall back to producing one wheel for macOS and drop support of OSX 10.6 and 10.7 (#1826) 2018-11-13 12:36:06 +03:00
Nikita Titov 71bd9ed5e7 use latest Sphinx with rstcheck (#1836) 2018-11-11 16:39:34 +08:00
Nikita Titov 8ace7339d8 update Xcode on Travis (#1825) 2018-11-06 22:18:37 +08:00
Nikita Titov 28e47aae63 slightly refactored ci tests script (#1827) 2018-11-06 22:18:17 +08:00
Nikita Titov b0a938aee1 [ci] updated fix for macOS on Travis (#1822)
* updated fix for macOS on Travis

* hotfix
2018-11-06 10:06:15 +08:00
Nikita Titov 5c8e365fe5 [ci] run example jupyter notebooks as part of tests at the CI side (#1807)
* execute notebooks on CIs

* run notebooks in interactive mode and increase timeout for MinGW

* hotfix alphabetically sort packages installation
2018-11-05 15:49:54 +08:00
Nikita Titov dfe0fae4ea [ci] check dynamic symbol versions at CI side (#1812)
* renamed helper folder to helpers

* added library dependencies check
2018-11-01 09:42:06 +08:00
Nikita Titov ef4b5be531
[ci] fixed CMake update on Travis (#1804) 2018-10-31 12:51:58 +03:00
Nikita Titov f21ca60b01 [ci] cleanup CI installation (#1806) 2018-10-31 10:28:00 +08:00
Guolin Ke f0e75fc107
add clang to ci docker 2018-10-30 10:40:03 +08:00
nabokovas 9a2bf26626 [ci] sort package installation (#1761)
* sort package installation
2018-10-18 01:35:58 +03:00
Guolin Ke 1a1255ac4c
[ci] speed up the linux builds (#1745)
* speed up the build

* remove gpu docker

* add boost ppa

* remove duplicate installs

* Update test.sh

* conda install mkl qt

* addd windows

* Update .vsts-ci.yml

* fix gpu boost
2018-10-17 20:09:12 +08:00
Nikita Titov ccf2570ca3 [docs][ci][python] added docstring style test and fixed errors in existing docstrings (#1759)
* added docstring style test and fixed errors in existing docstrings

* hotfix

* hotfix

* fix grammar

* hotfix
2018-10-16 14:19:36 +08:00
Nikita Titov dfdf88618e [ci] downgrade Xcode version on Azure (#1754)
* downgrade Xcode version on Azure

* fixed docs and warning
2018-10-16 11:13:38 +08:00
Guolin Ke 17165f9372 remove empty lines 2018-10-11 10:24:49 +08:00
Guolin Ke e8395e9259
[Azure Pipeline] switch to Hosted Ubuntu 1604 (#1740)
* use new keywords

* fix conda install

* try to fix conda

* conda
2018-10-10 20:54:22 +08:00
Nikita Titov f66716cebe support macOS 10.14 Mojave (#1732) 2018-10-05 10:09:42 +08:00
Nikita Titov 912761512e build docs with latest sphinx (#1729) 2018-10-03 22:12:04 +08:00
Nikita Titov 52dbc5722f [ci] dowgrade gcc version for Linux on Azure (#1718)
* dowgrade gcc version on Azure

* small fixes, update Artifacts condition for easy debug.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update setup.sh

* Update CMakeLists.txt

* Update .vsts-ci.yml

* Update CMakeLists.txt

* remove the lgamma

* update comment

* make sure that we use appropriate compiler
2018-10-03 09:06:43 +08:00
Nikita Titov b419331b72 sphinx hotfix (#1713) 2018-09-29 10:22:29 +08:00
Nikita Titov eb131ead89
[docs] run pycodestyle for docs folder (#1687)
* run pytest for docs folder too

* fixed pylint error and some minor style issues
2018-09-21 23:18:48 +03:00
Nikita Titov 64002b2c0d added execute permissions to scripts (#1674) 2018-09-18 10:23:23 +08:00
Nikita Titov dea7c78418
[ci] merged CI test scripts into one (#1671) 2018-09-17 12:16:03 +03:00
Nikita Titov 73a9a192c9 [ci] merged CI setup scripts into one (#1669)
* reorganized CI files

* merged scripts into one
2018-09-15 09:59:55 +08:00