Skip to content

Commit cf1d15d

Browse files
committed
Rework CI services
Install XGBoost via condo. Remove Python 3.5 from CI.
1 parent e1228f8 commit cf1d15d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ install:
1919
- conda config --set always_yes yes --set changeps1 no
2020
- conda update -q conda
2121
- conda info -a
22-
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy scikit-learn nose cython
22+
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy scikit-learn nose cython py-xgboost
2323
- activate test-environment
2424
- pip install deap tqdm update_checker pypiwin32
2525

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ env:
55
matrix:
66
# let's start simple:
77
- PYTHON_VERSION="2.7" LATEST="true"
8-
- PYTHON_VERSION="3.5" LATEST="true"
98
- PYTHON_VERSION="3.6" COVERAGE="true" LATEST="true"
109
- PYTHON_VERSION="3.6" LATEST="true"
1110
install: source ./ci/.travis_install.sh

ci/.travis_install.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,21 @@ conda update --yes conda
3333
# provided versions
3434
if [[ "$LATEST" == "true" ]]; then
3535
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
36-
numpy scipy scikit-learn cython
36+
numpy scipy scikit-learn cython py-xgboost
3737
else
3838
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
3939
numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION \
4040
scikit-learn=$SKLEARN_VERSION \
41-
cython
41+
py-xgboost=$XGBOOST_VERSION \
42+
cython
4243
fi
4344

4445
source activate testenv
4546

4647
if [[ "$LATEST" == "true" ]]; then
4748
pip install deap
48-
pip install xgboost
4949
else
5050
pip install deap==$DEAP_VERSION
51-
pip install xgboost==$XGBOOST_VERSION
5251
fi
5352

5453
pip install update_checker

0 commit comments

Comments
 (0)