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
e6273c72
Unverified
Commit
e6273c72
authored
Nov 06, 2021
by
Nikita Titov
Committed by
GitHub
Nov 06, 2021
Browse files
[ci] Revert temp workaround for `freetype` version (#4776)
This reverts commit
d62378b4
.
parent
f39bf5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.ci/test_windows.ps1
.ci/test_windows.ps1
+1
-1
No files found.
.ci/test_windows.ps1
View file @
e6273c72
...
@@ -106,7 +106,7 @@ if (($env:TASK -eq "regular") -or (($env:APPVEYOR -eq "true") -and ($env:TASK -e
...
@@ -106,7 +106,7 @@ if (($env:TASK -eq "regular") -or (($env:APPVEYOR -eq "true") -and ($env:TASK -e
cd
$
env
:
BUILD_SOURCESDIRECTORY
/examples/python-guide
cd
$
env
:
BUILD_SOURCESDIRECTORY
/examples/python-guide
@(
"import matplotlib"
,
"matplotlib.use('Agg')"
)
+
(
Get-Content
"plot_example.py"
)
|
Set-Content
"plot_example.py"
@(
"import matplotlib"
,
"matplotlib.use('Agg')"
)
+
(
Get-Content
"plot_example.py"
)
|
Set-Content
"plot_example.py"
(
Get-Content
"plot_example.py"
)
.
replace
(
'graph.render(view=True)'
,
'graph.render(view=False)'
)
|
Set-Content
"plot_example.py"
# prevent interactive window mode
(
Get-Content
"plot_example.py"
)
.
replace
(
'graph.render(view=True)'
,
'graph.render(view=False)'
)
|
Set-Content
"plot_example.py"
# prevent interactive window mode
conda
install
-q
-y
-n
$
env
:
CONDA_ENV
"freetype=2.10.4"
h5py
ipywidgets
notebook
conda
install
-q
-y
-n
$
env
:
CONDA_ENV
h5py
ipywidgets
notebook
foreach
(
$file
in
@(
Get-ChildItem
*.py
))
{
foreach
(
$file
in
@(
Get-ChildItem
*.py
))
{
@(
"import sys, warnings"
,
"warnings.showwarning = lambda message, category, filename, lineno, file=None, line=None: sys.stdout.write(warnings.formatwarning(message, category, filename, lineno, line))"
)
+
(
Get-Content
$file
)
|
Set-Content
$file
@(
"import sys, warnings"
,
"warnings.showwarning = lambda message, category, filename, lineno, file=None, line=None: sys.stdout.write(warnings.formatwarning(message, category, filename, lineno, line))"
)
+
(
Get-Content
$file
)
|
Set-Content
$file
python
$file
;
Check-Output
$?
python
$file
;
Check-Output
$?
...
...
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