AMD64
Ruby: 2.4
Git
This is the configuration for all of build #3136, including this job
language: ruby
rvm:
- "2.2.9"
- "2.3.6"
- "2.4"
- "2.5.3"
jobs:
include:
- stage: deploy
cache: false
before_deploy:
- sed -i.bak "s/VERSION = '.*'/VERSION = '${DPL_VERSION}'/g" lib/dpl/version.rb
- git config user.name "travisbot"
- git config user.email "deploy@travis-ci.org"
- git add lib/dpl/version.rb
- git commit -m "Update DPL::Version"
deploy:
- provider: rubygems
script: skip
edge:
branch: master
api_key:
secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
gem: dpl
gemspec_glob: 'dpl*.gemspec'
on:
repo: travis-ci/dpl
if: branch = master AND NOT type IN (pull_request)
allow_failures:
env:
global:
- DPL_VERSION=$(ruby -I lib -r dpl/version.rb -e "puts DPL::VERSION.succ + \".travis.#{ENV['TRAVIS_JOB_NUMBER']}\"")
sudo: false
before_cache:
- rm -rf $GEM_HOME/cache/dpl-*.travis.*.gem $GEM_HOME/gems/dpl-*.travis.* $GEM_HOME/specifications/dpl-*.travis.*
- git checkout bin/dpl
cache:
directories:
- vendor/cache
- $GEM_HOME
- node_modules
before_install:
- gem update bundler
before_script:
- rm -f $(ruby -r rubygems -e "puts Gem.bindir")/dpl
script:
- rake
apache/arrow:.travis.yml@6c31940
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
dist: bionic
language: minimal
cache:
directories:
- $TRAVIS_BUILD_DIR/.docker
addons:
apt:
packages:
- python3-pip
services:
- docker
jobs:
include:
- name: "C++ on ARM"
os: linux
arch: arm64
env:
ARCH: arm64v8
ARROW_CI_MODULES: "CPP"
DOCKER_IMAGE_ID: ubuntu-cpp
UBUNTU: "20.04"
- name: "C++ on s390x"
os: linux
arch: s390x
env:
ARCH: s390x
ARROW_CI_MODULES: "CPP"
ARROW_FLIGHT: "ON"
ARROW_PARQUET: "OFF"
CMAKE_UNITY_BUILD: "OFF" # Avoid compiler crash
DOCKER_IMAGE_ID: ubuntu-cpp
PARQUET_BUILD_EXAMPLES: "OFF"
PARQUET_BUILD_EXECUTABLES: "OFF"
Protobuf_SOURCE: "BUNDLED"
UBUNTU: "20.04"
cares_SOURCE: "BUNDLED"
gRPC_SOURCE: "BUNDLED"
- name: "Go on s390x"
os: linux
arch: s390x
env:
ARCH: s390x
ARROW_CI_MODULES: "GO"
DOCKER_IMAGE_ID: debian-go
allow_failures:
- arch: s390x
env:
DOCKER_BUILDKIT: 0
COMPOSE_DOCKER_CLI_BUILD: 1
ARROW_ENABLE_TIMING_TESTS: "OFF"
before_install:
- eval "$(python ci/detect-changes.py)"
- |
arrow_ci_affected=no
for arrow_ci_module in ${ARROW_CI_MODULES}; do
arrow_ci_affected_variable=ARROW_CI_${arrow_ci_module}_AFFECTED
if [ "$(eval "echo \$${arrow_ci_affected_variable}")" = "1" ]; then
arrow_ci_affected=yes
fi
done
if [ "${arrow_ci_affected}" = "no" ]; then
travis_terminate 0
fi
install:
- pip3 install -e dev/archery[docker]
script:
- sudo sysctl -w kernel.core_pattern="core.%e.%p"
# This isn't allowed on Travis CI:
# /home/travis/.travis/functions: line 109: ulimit: core file size: cannot modify limit: Operation not permitted
- |
ulimit -c unlimited || :
- |
archery docker run \
-e ARROW_BUILD_STATIC=${ARROW_BUILD_STATIC:-OFF} \
-e ARROW_FLIGHT=${ARROW_FLIGHT:-OFF} \
-e ARROW_ORC=${ARROW_ORC:-OFF} \
-e ARROW_PARQUET=${ARROW_PARQUET:-ON} \
-e ARROW_USE_GLOG=${ARROW_USE_GLOG:-OFF} \
-e CMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD:-ON} \
-e PARQUET_BUILD_EXAMPLES=${PARQUET_BUILD_EXAMPLES:-ON} \
-e PARQUET_BUILD_EXECUTABLES=${PARQUET_BUILD_EXECUTABLES:-ON} \
-e Protobuf_SOURCE=${Protobuf_SOURCE:-} \
-e cares_SOURCE=${cares_SOURCE:-} \
-e gRPC_SOURCE=${gRPC_SOURCE:-} \
--volume ${PWD}/build:/build \
${DOCKER_IMAGE_ID}
after_success:
- |
if [ "${TRAVIS_EVENT_TYPE}" = "push" -a \
"${TRAVIS_REPO_SLUG}" = "apache/arrow" ]; then
archery docker push ${DOCKER_IMAGE_ID} || :
fi
Build Config
{
"os": [
"linux"
],
"env": {
"global": [
"DPL_VERSION=$(ruby -I lib -r dpl/version.rb -e \"puts DPL::VERSION.succ + \\\".travis.#{ENV['TRAVIS_JOB_NUMBER']}\\\"\")"
]
},
"rvm": [
"2.2.9",
"2.3.6",
"2.4",
"2.5.3"
],
"dist": "trusty",
"sudo": false,
"cache": {
"directories": [
"vendor/cache",
"$GEM_HOME",
"node_modules"
]
},
"matrix": {
"include": [
{
"if": "branch = master AND NOT type IN (pull_request)",
"cache": {
"apt": false,
"npm": false,
"pip": false,
"yarn": false,
"cargo": false,
"ccache": false,
"bundler": false,
"packages": false,
"cocoapods": false
},
"stage": "deploy",
"deploy": [
{
"on": {
"repo": "travis-ci/dpl"
},
"gem": "dpl",
"edge": {
"branch": "master"
},
"api_key": {
"secure": "ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME="
},
"provider": "rubygems",
"gemspec_glob": "dpl*.gemspec"
}
],
"script": [
"skip"
],
"before_deploy": [
"sed -i.bak \"s/VERSION = '.*'/VERSION = '${DPL_VERSION}'/g\" lib/dpl/version.rb",
"git config user.name \"travisbot\"",
"git config user.email \"deploy@travis-ci.org\"",
"git add lib/dpl/version.rb",
"git commit -m \"Update DPL::Version\""
]
}
]
},
"script": [
"rake"
],
"language": "ruby",
"before_cache": [
"rm -rf $GEM_HOME/cache/dpl-*.travis.*.gem $GEM_HOME/gems/dpl-*.travis.* $GEM_HOME/specifications/dpl-*.travis.*",
"git checkout bin/dpl"
],
"before_script": [
"rm -f $(ruby -r rubygems -e \"puts Gem.bindir\")/dpl"
],
"before_install": [
"gem update bundler"
]
}