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
68e212ae
Unverified
Commit
68e212ae
authored
Jun 09, 2018
by
Nikita Titov
Committed by
GitHub
Jun 09, 2018
Browse files
[ci] simplified Travis setup stage (#1434)
parent
96e70162
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
.travis/setup.sh
.travis/setup.sh
+5
-5
No files found.
.travis/setup.sh
View file @
68e212ae
...
@@ -11,11 +11,11 @@ if [[ $TRAVIS_OS_NAME == "osx" ]]; then
...
@@ -11,11 +11,11 @@ if [[ $TRAVIS_OS_NAME == "osx" ]]; then
# brew link --overwrite gcc # Previous variant to deal with conflict link
# brew link --overwrite gcc # Previous variant to deal with conflict link
wget
-O
conda.sh https://repo.continuum.io/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-MacOSX-x86_64
.sh
wget
-O
conda.sh https://repo.continuum.io/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-MacOSX-x86_64
.sh
else
else
if
[[
${
TASK
}
!
=
"
pylint"
]]
&&
[[
${
TASK
}
!=
"check-docs
"
]]
;
then
if
[[
${
TASK
}
=
=
"
mpi
"
]]
;
then
sudo
a
dd-apt-repository ppa:george-edison55/cmake-3.x
-y
sudo
a
pt-get
install
-y
libopenmpi-dev openmpi-bin
sudo
apt-get update
-q
fi
sudo
apt-get
install
-y
cmake
if
[[
${
TASK
}
==
"gpu"
]]
;
then
sudo
apt-get
install
-y
libopenmpi-dev openmpi-bin build-essential
sudo
apt-get
install
-y
ocl-icd-opencl-dev
fi
fi
wget
-O
conda.sh https://repo.continuum.io/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-Linux-x86_64
.sh
wget
-O
conda.sh https://repo.continuum.io/miniconda/Miniconda
${
PYTHON_VERSION
:0:1
}
-latest-Linux-x86_64
.sh
fi
fi
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