Skip to content

Apache DataFusion SQL Query Engine

ARROW-2877: [Packaging] crossbow submit results in duplicate Travis CI build

Krisztián Szűcsde9c758754c5
diff --git a/dev/tasks/conda-recipes/travis.linux.yml b/dev/tasks/conda-recipes/travis.linux.yml
index dcf0c42a54..c0fc71d230 100644
--- a/dev/tasks/conda-recipes/travis.linux.yml
+++ b/dev/tasks/conda-recipes/travis.linux.yml
@@ -15,10 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-language: generic
-
os: linux
dist: trusty
+language: generic
+
+# don't build twice
+if: tag IS blank
env:
global:
diff --git a/dev/tasks/conda-recipes/travis.osx.yml b/dev/tasks/conda-recipes/travis.osx.yml
index d92c19d04c..193539d8c9 100644
--- a/dev/tasks/conda-recipes/travis.osx.yml
+++ b/dev/tasks/conda-recipes/travis.osx.yml
@@ -15,10 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-language: generic
-
os: osx
osx_image: xcode6.4
+language: generic
+
+# don't build twice
+if: tag IS blank
env:
global:
diff --git a/dev/tasks/linux-packages/travis.linux.yml b/dev/tasks/linux-packages/travis.linux.yml
index 1f9bbb5e8b..d5b2889051 100644
--- a/dev/tasks/linux-packages/travis.linux.yml
+++ b/dev/tasks/linux-packages/travis.linux.yml
@@ -20,6 +20,9 @@ dist: trusty
sudo: required
language: ruby
+# don't build twice
+if: tag IS blank
+
env:
global:
- PLAT=x86_64
diff --git a/dev/tasks/python-wheels/travis.linux.yml b/dev/tasks/python-wheels/travis.linux.yml
index bdc4f02549..8ee82d44ac 100644
--- a/dev/tasks/python-wheels/travis.linux.yml
+++ b/dev/tasks/python-wheels/travis.linux.yml
@@ -14,6 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+os: linux
+dist: trusty
+sudo: required
+language: cpp
+services:
+ - docker
+
+# don't build twice
+if: tag IS blank
+
env:
global:
- PLAT=x86_64
@@ -22,13 +32,6 @@ env:
- PYTHON_VERSION={{ python_version }}
- PYARROW_VERSION={{ arrow.version }}
-os: linux
-dist: trusty
-sudo: required
-language: cpp
-services:
- - docker
-
before_script:
- docker pull quay.io/xhochy/arrow_manylinux1_x86_64_base:latest
diff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.yml
index 9f58c247f0..7b22b1c6c0 100644
--- a/dev/tasks/python-wheels/travis.osx.yml
+++ b/dev/tasks/python-wheels/travis.osx.yml
@@ -14,10 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-language: generic
-
os: osx
osx_image: xcode8.3
+language: generic
+
+# don't build twice
+if: tag IS blank
env:
global: