Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis2 #381

Merged
merged 4 commits into from Feb 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -24,11 +24,10 @@ install:
- TEST_DIR=$PWD
- pip install --upgrade pip setuptools wheel
- pip install coveralls nose tables
- pip install --only-binary=numpy,scipy,pandas -r requirements.txt
- if [[ $TESTS_TO_RUN == *'advanced_tests'* ]]; then pip install lightgbm keras==2.1.1 tensorflow catboost xgboost; fi
- pip install -r requirements.txt
- if [[ $TESTS_TO_RUN == *'advanced_tests'* ]]; then pip install lightgbm keras==2.1.1 tensorflow==1.4.0 catboost xgboost; fi
- if [[ $TESTS_TO_RUN == *'backwards_compatibility_test'* ]]; then pip install scikit-learn==0.18.0; fi

script:
- nosetests $TESTS_TO_RUN

- coveralls
4 changes: 2 additions & 2 deletions requirements.txt
@@ -1,6 +1,6 @@
dill>=0.2.5, < 0.3
dill>=0.2.5, <0.3
h5py>=2.7.0, <3.0
lightgbm>=2.0.11, <2.1
lightgbm>=2.0.11, <3.0
numpy>=1.11.0, <2.0
pandas>=0.18.0, <1.0
pathos>=0.2.1, <0.3.0
Expand Down
2 changes: 1 addition & 1 deletion tests/advanced_tests/advanced_install_tests.py
Expand Up @@ -162,7 +162,7 @@ def test_feature_learning_categorical_ensembling_getting_single_predictions_clas
if model_name == 'CatBoostClassifier':
lower_bound = -0.265

assert lower_bound < first_score < -0.147
assert lower_bound < first_score < -0.140

# 2. make sure the speed is reasonable (do it a few extra times)
data_length = len(df_titanic_test_dictionaries)
Expand Down
2 changes: 1 addition & 1 deletion tests/core_tests/api_coverage_tests_classifiers.py
Expand Up @@ -96,7 +96,7 @@ def test_perform_feature_selection_true_classification():
print('test_score')
print(test_score)

assert -0.16 < test_score < -0.135
assert -0.16 < test_score < -0.124


def test_perform_feature_scaling_true_classification():
Expand Down