From d888060153101a5339a2869440ee67aaf793d987 Mon Sep 17 00:00:00 2001 From: Ahmet Altay Date: Mon, 30 Jan 2017 12:51:15 -0800 Subject: [PATCH] Revert python-sdk only changes in travis, and clean incubator keywords. --- .travis.yml | 15 +++++++++++++++ .../examples/cookbook/datastore_wordcount.py | 2 +- sdks/python/setup.py | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb6f790e74d2..a392f7dc7c43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,20 @@ env: matrix: include: + # On OSX, run with default JDK only. + - os: osx + + # On Linux, run with specific JDKs only. + - os: linux + env: CUSTOM_JDK="oraclejdk8" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE" + - os: linux + env: CUSTOM_JDK="oraclejdk7" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE" + - os: linux + env: CUSTOM_JDK="openjdk7" MAVEN_OVERRIDE="$MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE" + - os: linux + env: MAVEN_OVERRIDE="-Peclipse-jdt -DskipTests $MAVEN_OVERRIDE $MAVEN_CONTAINER_OVERRIDE" CUSTOM_JDK="oraclejdk8" + + # Python SDK tests. - os: osx env: TEST_PYTHON="1" - os: linux @@ -51,6 +65,7 @@ before_install: - cat ~/.mavenrc - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi + - export BEAM_SUREFIRE_ARGLINE="-Xmx512m" # Python SDK environment settings. - export TOX_ENV=py27 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export TOX_HOME=$HOME/Library/Python/2.7/bin; fi diff --git a/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py b/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py index 25abb3e7b74e..592dc3416dc7 100644 --- a/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py +++ b/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py @@ -23,7 +23,7 @@ See https://developers.google.com/datastore/ for more details on Google Cloud Datastore. -See http://beam.incubator.apache.org/get-started/quickstart on +See http://beam.apache.org/get-started/quickstart on how to run a Beam pipeline. Read-only Mode: In this mode, this example reads Cloud Datastore entities using diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 37125c2828fa..e75a583717a5 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -37,10 +37,10 @@ def get_version(): PACKAGE_NAME = 'apache-beam-sdk' PACKAGE_VERSION = get_version() PACKAGE_DESCRIPTION = 'Apache Beam SDK for Python' -PACKAGE_URL = 'https://beam.incubator.apache.org' +PACKAGE_URL = 'https://beam.apache.org' PACKAGE_DOWNLOAD_URL = 'TBD' PACKAGE_AUTHOR = 'Apache Software Foundation' -PACKAGE_EMAIL = 'dev@beam.incubator.apache.org' +PACKAGE_EMAIL = 'dev@beam.apache.org' PACKAGE_KEYWORDS = 'apache beam' PACKAGE_LONG_DESCRIPTION = ''' TBD