Skip to content
Permalink
Browse files

Travis2 (#381)

* trying different package versions for tensorflow and keras due to unannounced breaking changed to APIs

* removes only-binary from install to see if that helps with install issues

* two tests surpassed our best expected performance

* removes unnecessary spacing
  • Loading branch information...
ClimbsRocks committed Feb 8, 2018
1 parent 1097e4f commit 8887a365acfbddc307a5f8fec00dc78081b0a648
@@ -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
@@ -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
@@ -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)
@@ -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():

0 comments on commit 8887a36

Please sign in to comment.
You can’t perform that action at this time.