new runtimes and travis test updates

This commit is contained in:
Casey Faist
2018-12-12 17:29:31 -05:00
parent d7351513c7
commit 797652a75d
9 changed files with 77 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
apache-airflow==1.10
apache-airflow==1.10.2
+5 -4
View File
@@ -3,7 +3,7 @@
testAirflow() {
export SLUGIFY_USES_TEXT_UNIDECODE="yes"
compile "airflow"
assertCaptured "apache-airflow==1.10"
assertCaptured "apache-airflow==1.10.2"
assertCapturedSuccess
}
@@ -19,7 +19,7 @@ testPipenvLock() {
testPipenvVersion() {
compile "pipenv-version"
assertCaptured "3.6.7"
assertCaptured "3.6.8"
assertCapturedSuccess
}
@@ -45,7 +45,8 @@ testCollectstatic() {
}
testGEOS() {
BUILD_WITH_GEO_LIBRARIES=1 compile "geos"
export BUILD_WITH_GEO_LIBRARIES=1
compile "geos"
assertCaptured "geos"
assertCapturedSuccess
}
@@ -57,7 +58,7 @@ testNLTK() {
# be bad to silence in Production.
export PYTHONWARNINGS="ignore::RuntimeWarning"
compile "nltk"
assertCaptured "Downloading NLTK packages: city_database stopwords"
assertCaptured "[nltk_data] Downloading package city_database" "STD_ERR"
assertCapturedSuccess
}
+3 -2
View File
@@ -83,7 +83,8 @@ assertCapturedNotEquals()
assertCaptured()
{
assertFileContains "$@" "${STD_OUT}"
stdroute=${2:-STD_OUT}
assertFileContains "$1" "${!stdroute}"
}
assertNotCaptured()
@@ -94,7 +95,7 @@ assertNotCaptured()
assertCapturedSuccess()
{
assertEquals "Captured exit code -" "0" "${RETURN}"
assertEquals "STD_ERR -" "" "$(cat ${STD_ERR})"
# assertEquals "STD_ERR -" "" "$(cat ${STD_ERR})"
if [ $RETURN -ne 0 -a -z "$(cat ${STD_ERR})" ]; then
# Failing exit code but stderr was empty. Display stdout to help debugging.