Skip to content

Commit

Permalink
removing debugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed May 6, 2020
1 parent 8495582 commit 596b5ef
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 205 deletions.
8 changes: 4 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ environment:
matrix:
- COMPILER: MINGW
TASK: r-package
# - COMPILER: MSVC
# TASK: python
# - COMPILER: MINGW
# TASK: python
- COMPILER: MSVC
TASK: python
- COMPILER: MINGW
TASK: python

clone_depth: 5

Expand Down
25 changes: 0 additions & 25 deletions .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ function Download-File-With-Retries {
} while(!$?);
}

# in the virtual machine we get from Azure DevOps, the write throughput of
# D:\ (the default location builds run from) is 10x lower than the write throughput
# of C:\. This matters for very write-heavy steps like generating a build makefile
# with `cmake -G"Visual Studio..."`.
#
# To check the disk performance, run the following
#
# Get-CimInstance Win32_PerfRawData_PerfDisk_LogicalDisk
# Get-CimInstance Win32_PerfRawData_PerfDisk_PhysicalDisk
#
# More details: https://github.com/microsoft/LightGBM/pull/2965#issuecomment-624421092
#
#if ($env:AZURE -eq "true") {
# Write-Output "Moving files to C:\ and changing BUILD_SOURCESDIRECTORY"
# $env:NEW_BUILD_DIRECTORY = "C:\LightGBM"
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\compute" -Destination "$env:NEW_BUILD_DIRECTORY\compute" -Recurse
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\include" -Destination "$env:NEW_BUILD_DIRECTORY\include" -Recurse
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\R-package" -Destination "$env:NEW_BUILD_DIRECTORY\R-package" -Recurse
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\src" -Destination "$env:NEW_BUILD_DIRECTORY\src" -Recurse
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\build_r.R" -Destination "$env:NEW_BUILD_DIRECTORY\build_r.R"
# Copy-Item -Path "$env:BUILD_SOURCESDIRECTORY\CMakeLists.txt" -Destination "$env:NEW_BUILD_DIRECTORY\CMakeLists.txt"
# $env:BUILD_SOURCESDIRECTORY = "$env:NEW_BUILD_DIRECTORY"
# Write-Output "new BUILD_SOURCESDIRECTORY: $env:BUILD_SOURCESDIRECTORY"
#}

$env:R_WINDOWS_VERSION = "3.6.3"
$env:R_LIB_PATH = "$env:BUILD_SOURCESDIRECTORY/RLibrary" -replace '[\\]', '/'
$env:PATH = "$env:R_LIB_PATH/Rtools/bin;" + "$env:R_LIB_PATH/R/bin/x64;" + "$env:R_LIB_PATH/miktex/texmfs/install/miktex/bin/x64;" + $env:PATH
Expand Down
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ env:
global: # default values
- PYTHON_VERSION=3.8
matrix:
# - TASK=regular PYTHON_VERSION=3.6
# - TASK=sdist PYTHON_VERSION=2.7
# - TASK=bdist
# - TASK=if-else
# - TASK=lint
# - TASK=check-docs
# - TASK=mpi METHOD=source
# - TASK=mpi METHOD=pip PYTHON_VERSION=3.7
# - TASK=gpu METHOD=source PYTHON_VERSION=3.5
# - TASK=gpu METHOD=pip PYTHON_VERSION=3.6
- TASK=regular PYTHON_VERSION=3.6
- TASK=sdist PYTHON_VERSION=2.7
- TASK=bdist
- TASK=if-else
- TASK=lint
- TASK=check-docs
- TASK=mpi METHOD=source
- TASK=mpi METHOD=pip PYTHON_VERSION=3.7
- TASK=gpu METHOD=source PYTHON_VERSION=3.5
- TASK=gpu METHOD=pip PYTHON_VERSION=3.6
- TASK=r-package

matrix:
Expand Down
Loading

0 comments on commit 596b5ef

Please sign in to comment.