Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
2c41d15e
Commit
2c41d15e
authored
May 06, 2019
by
Nikita Titov
Committed by
Guolin Ke
May 06, 2019
Browse files
[ci] nose is not needed anymore (#2151)
parent
a47782f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.appveyor.yml
.appveyor.yml
+2
-2
.ci/test.sh
.ci/test.sh
+1
-1
.vsts-ci.yml
.vsts-ci.yml
+1
-1
No files found.
.appveyor.yml
View file @
2c41d15e
version
:
2.2.4.{build}
version
:
2.2.4.{build}
image
:
Visual Studio
2015
platform
:
x64
...
...
@@ -29,7 +29,7 @@ install:
-
ps
:
$env:LGB_VER = (Get-Content VERSION.txt).trim()
-
conda config --set always_yes yes --set changeps1 no
-
conda update -q -y conda
-
conda create -q -y -n test-env python=%PYTHON_VERSION% matplotlib
nose
numpy pandas psutil pytest python-graphviz scikit-learn scipy
-
conda create -q -y -n test-env python=%PYTHON_VERSION% matplotlib numpy pandas psutil pytest python-graphviz scikit-learn scipy
-
activate test-env
-
set PATH=%CONDA_PREFIX%\Library\bin\graphviz;%PATH%
# temp graphviz hotfix
...
...
.ci/test.sh
View file @
2c41d15e
...
...
@@ -79,7 +79,7 @@ if [[ $TASK == "if-else" ]]; then
exit
0
fi
conda
install
-q
-y
-n
$CONDA_ENV
matplotlib
nose
numpy pandas psutil pytest python-graphviz scikit-learn scipy
conda
install
-q
-y
-n
$CONDA_ENV
matplotlib numpy pandas psutil pytest python-graphviz scikit-learn scipy
if
[[
$OS_NAME
==
"macos"
]]
&&
[[
$COMPILER
==
"clang"
]]
;
then
sudo ln
-sf
`
ls
-d
"
$(
brew
--cellar
libomp
)
"
/
*
/lib
`
/
*
$CONDA_PREFIX
/lib
||
exit
-1
# fix "OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized." (OpenMP library conflict due to conda's MKL)
...
...
.vsts-ci.yml
View file @
2c41d15e
...
...
@@ -122,7 +122,7 @@ jobs:
displayName
:
Enable conda
-
script
:
|
conda update -q -y conda
conda create -q -y -n %CONDA_ENV% python=%PYTHON_VERSION% matplotlib
nose
numpy pandas psutil pytest python-graphviz scikit-learn scipy
conda create -q -y -n %CONDA_ENV% python=%PYTHON_VERSION% matplotlib numpy pandas psutil pytest python-graphviz scikit-learn scipy
cmd /c "activate %CONDA_ENV% & powershell -ExecutionPolicy Bypass -File %BUILD_SOURCESDIRECTORY%/.ci/test_windows.ps1"
displayName
:
Test
-
task
:
PublishBuildArtifacts@1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment