Skip to content

Commit

Permalink
[ci] nose is not needed anymore (#2151)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored and guolinke committed May 6, 2019
1 parent a47782f commit 2c41d15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
@@ -1,4 +1,4 @@
version: 2.2.4.{build}
version: 2.2.4.{build}

image: Visual Studio 2015
platform: x64
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .ci/test.sh
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion .vsts-ci.yml
Expand Up @@ -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
Expand Down

0 comments on commit 2c41d15

Please sign in to comment.