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
7b335017
Unverified
Commit
7b335017
authored
Apr 24, 2020
by
Nikita Titov
Committed by
GitHub
Apr 23, 2020
Browse files
minor CI scripts update (#3019)
parent
02a0089f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
12 deletions
+5
-12
.ci/setup.sh
.ci/setup.sh
+2
-2
.ci/test_r_package.sh
.ci/test_r_package.sh
+0
-7
.travis.yml
.travis.yml
+1
-1
docker/dockerfile-python
docker/dockerfile-python
+1
-1
docker/gpu/dockerfile.gpu
docker/gpu/dockerfile.gpu
+1
-1
No files found.
.ci/setup.sh
View file @
7b335017
...
...
@@ -17,7 +17,7 @@ if [[ $OS_NAME == "macos" ]]; then
if
[[
$AZURE
==
"true"
]]
&&
[[
$TASK
==
"sdist"
]]
;
then
brew
install
https://raw.githubusercontent.com/Homebrew/homebrew-core/f3544543a3115023fc7ca962c21d14b443f419d0/Formula/swig.rb
# swig 3.0.12
fi
wget
-q
-O
conda.sh https://repo.
continuum.io
/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-MacOSX-x86_64
.sh
wget
-q
-O
conda.sh https://repo.
anaconda.com
/miniconda/Miniconda
3
-latest-MacOSX-x86_64.sh
else
# Linux
if
[[
$TASK
==
"mpi"
]]
;
then
sudo
apt-get update
...
...
@@ -37,7 +37,7 @@ else # Linux
echo
libamdocl64.so
>
$OPENCL_VENDOR_PATH
/amdocl64.icd
fi
if
[[
$TRAVIS
==
"true"
]]
;
then
wget
-q
-O
conda.sh https://repo.
continuum.io
/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-Linux-x86_64
.sh
wget
-q
-O
conda.sh https://repo.
anaconda.com
/miniconda/Miniconda
3
-latest-Linux-x86_64.sh
fi
fi
...
...
.ci/test_r_package.sh
View file @
7b335017
...
...
@@ -34,11 +34,6 @@ fi
# Installing R precompiled for Mac OS 10.11 or higher
if
[[
$OS_NAME
==
"macos"
]]
;
then
# temp fix for basictex
if
[[
$AZURE
==
"true"
]]
;
then
brew update
fi
brew
install
qpdf
brew cask
install
basictex
export
PATH
=
"/Library/TeX/texbin:
$PATH
"
...
...
@@ -113,5 +108,3 @@ if [[ ${NUM_CHECK_NOTES} -gt ${ALLOWED_CHECK_NOTES} ]]; then
echo
"Found
${
NUM_CHECK_NOTES
}
NOTEs from R CMD check. Only
${
ALLOWED_CHECK_NOTES
}
are allowed"
exit
-1
fi
exit
0
.travis.yml
View file @
7b335017
...
...
@@ -8,7 +8,7 @@ os:
-
linux
-
osx
dist
:
bionic
osx_image
:
xcode11.
3
osx_image
:
xcode11.
4
env
:
global
:
# default values
...
...
docker/dockerfile-python
View file @
7b335017
...
...
@@ -13,7 +13,7 @@ RUN apt-get update && \
git \
wget && \
# python environment
wget https://repo.
continuum.io
/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
wget https://repo.
anaconda.com
/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
/bin/bash Miniconda3-latest-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
export PATH="$CONDA_DIR/bin:$PATH" && \
conda config --set always_yes yes --set changeps1 no && \
...
...
docker/gpu/dockerfile.gpu
View file @
7b335017
...
...
@@ -70,7 +70,7 @@ ENV PATH $CONDA_DIR/bin:$PATH
# Install miniconda
RUN echo "export PATH=$CONDA_DIR/bin:"'$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.
continuum.io
/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
wget --quiet https://repo.
anaconda.com
/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p $CONDA_DIR && \
rm ~/miniconda.sh
...
...
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