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
9a2bf266
Commit
9a2bf266
authored
Oct 18, 2018
by
nabokovas
Committed by
Nikita Titov
Oct 18, 2018
Browse files
[ci] sort package installation (#1761)
* sort package installation
parent
1a1255ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
.appveyor.yml
.appveyor.yml
+1
-1
.ci/test.sh
.ci/test.sh
+1
-1
.vsts-ci.yml
.vsts-ci.yml
+1
-1
No files found.
.appveyor.yml
View file @
9a2bf266
...
...
@@ -31,7 +31,7 @@ install:
-
ps
:
$env:LGB_VER = (Get-Content VERSION.txt).trim()
-
conda config --set always_yes yes --set changeps1 no
-
conda update -q conda
-
conda create -q -n test-env python=%PYTHON_VERSION%
numpy nose scipy scikit-learn pandas matplotlib python-graphviz pytest joblib
-
conda create -q -n test-env python=%PYTHON_VERSION%
joblib matplotlib nose numpy pandas pytest python-graphviz scikit-learn scipy
-
activate test-env
build_script
:
...
...
.ci/test.sh
View file @
9a2bf266
...
...
@@ -61,7 +61,7 @@ if [[ $TASK == "if-else" ]]; then
exit
0
fi
conda
install
-q
-y
-n
$CONDA_ENV
numpy nose scipy scikit-learn pandas matplotlib python-graphviz pytest
conda
install
-q
-y
-n
$CONDA_ENV
matplotlib nose numpy pandas 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 @
9a2bf266
...
...
@@ -148,7 +148,7 @@ jobs:
createCustomEnvironment
:
true
updateConda
:
true
environmentName
:
$(CONDA_ENV)
packageSpecs
:
'
python=$(PYTHON_VERSION)
numpy
nose
matplotlib
python-graphviz
pytest
scipy
scikit-learn
pandas
'
packageSpecs
:
'
python=$(PYTHON_VERSION)
matplotlib
nose
numpy
pandas
pytest
python-graphviz
scikit-learn
scipy
'
createOptions
:
'
-q'
-
powershell
:
$(Build.SourcesDirectory)/.ci/test_windows.ps1
displayName
:
Test
...
...
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