2016-02-27 18:07:26 +02:00
|
|
|
language: rust
|
2016-09-06 02:08:46 +02:00
|
|
|
env:
|
|
|
|
global:
|
2018-02-04 19:14:38 +02:00
|
|
|
- PROJECT_NAME: ripgrep
|
2017-07-13 04:06:08 +02:00
|
|
|
- RUST_BACKTRACE: full
|
2017-07-26 14:59:44 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2018-02-06 22:53:17 +02:00
|
|
|
# For generating man page.
|
|
|
|
- libxslt1-dev
|
|
|
|
- asciidoc
|
|
|
|
- docbook-xsl
|
|
|
|
- xsltproc
|
|
|
|
- libxml2-utils
|
2018-01-07 18:05:58 +02:00
|
|
|
# Needed for completion-function test.
|
2017-07-26 14:59:44 +02:00
|
|
|
- zsh
|
2018-01-07 18:05:58 +02:00
|
|
|
# Needed for testing decompression search.
|
|
|
|
- xz-utils
|
2018-04-27 11:37:53 +02:00
|
|
|
- liblz4-tool
|
2016-09-06 02:08:46 +02:00
|
|
|
matrix:
|
2017-12-19 01:04:49 +02:00
|
|
|
fast_finish: true
|
2016-09-06 02:08:46 +02:00
|
|
|
include:
|
2016-09-10 00:07:30 +02:00
|
|
|
# Nightly channel.
|
2018-02-04 19:14:38 +02:00
|
|
|
# All *nix releases are done on the nightly channel to take advantage
|
|
|
|
# of the regex library's multiple pattern SIMD search.
|
2016-09-10 00:07:30 +02:00
|
|
|
- os: linux
|
2017-08-24 01:49:02 +02:00
|
|
|
rust: nightly
|
2016-09-10 00:07:30 +02:00
|
|
|
env: TARGET=i686-unknown-linux-musl
|
|
|
|
- os: linux
|
2017-08-24 01:49:02 +02:00
|
|
|
rust: nightly
|
2016-09-10 00:07:30 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2016-09-06 02:08:46 +02:00
|
|
|
- os: osx
|
2017-08-24 01:49:02 +02:00
|
|
|
rust: nightly
|
2018-02-21 04:05:40 +02:00
|
|
|
# XML_CATALOG_FILES is apparently necessary for asciidoc on macOS.
|
|
|
|
env: TARGET=x86_64-apple-darwin XML_CATALOG_FILES=/usr/local/etc/xml/catalog
|
2017-12-17 15:41:51 +02:00
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-4.8-arm-linux-gnueabihf
|
|
|
|
- binutils-arm-linux-gnueabihf
|
|
|
|
- libc6-armhf-cross
|
|
|
|
- libc6-dev-armhf-cross
|
2018-02-21 02:49:36 +02:00
|
|
|
# For generating man page.
|
|
|
|
- libxslt1-dev
|
|
|
|
- asciidoc
|
|
|
|
- docbook-xsl
|
|
|
|
- xsltproc
|
|
|
|
- libxml2-utils
|
2018-02-04 19:14:38 +02:00
|
|
|
# Beta channel. We enable these to make sure there are no regressions in
|
|
|
|
# Rust beta releases.
|
2016-09-06 02:08:46 +02:00
|
|
|
- os: linux
|
2016-09-10 00:07:30 +02:00
|
|
|
rust: beta
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2016-09-10 05:19:37 +02:00
|
|
|
- os: linux
|
|
|
|
rust: beta
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
2018-02-04 19:14:38 +02:00
|
|
|
# Minimum Rust supported channel. We enable these to make sure ripgrep
|
|
|
|
# continues to work on the advertised minimum Rust version.
|
2016-09-06 02:08:46 +02:00
|
|
|
- os: linux
|
2018-07-18 02:29:20 +02:00
|
|
|
rust: 1.23.0
|
2016-09-10 05:19:37 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
2017-01-02 22:51:45 +02:00
|
|
|
- os: linux
|
2018-07-18 02:29:20 +02:00
|
|
|
rust: 1.23.0
|
2017-01-02 22:51:45 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2017-12-17 15:41:51 +02:00
|
|
|
- os: linux
|
2018-07-18 02:29:20 +02:00
|
|
|
rust: 1.23.0
|
2017-12-17 15:41:51 +02:00
|
|
|
env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-4.8-arm-linux-gnueabihf
|
|
|
|
- binutils-arm-linux-gnueabihf
|
|
|
|
- libc6-armhf-cross
|
|
|
|
- libc6-dev-armhf-cross
|
2018-02-21 02:49:36 +02:00
|
|
|
# For generating man page.
|
|
|
|
- libxslt1-dev
|
|
|
|
- asciidoc
|
|
|
|
- docbook-xsl
|
|
|
|
- xsltproc
|
|
|
|
- libxml2-utils
|
2018-02-04 19:14:38 +02:00
|
|
|
install: ci/install.sh
|
|
|
|
script: ci/script.sh
|
|
|
|
before_deploy: ci/before_deploy.sh
|
2016-09-06 02:08:46 +02:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
file_glob: true
|
2018-02-10 17:30:35 +02:00
|
|
|
file: deployment/${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz
|
2016-09-06 02:08:46 +02:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2017-08-24 02:05:23 +02:00
|
|
|
condition: $TRAVIS_RUST_VERSION = nightly
|
2018-02-07 00:27:57 +02:00
|
|
|
branch: master
|
|
|
|
tags: true
|
2018-02-04 19:14:38 +02:00
|
|
|
api_key:
|
|
|
|
secure: "IbSnsbGkxSydR/sozOf1/SRvHplzwRUHzcTjM7BKnr7GccL86gRPUrsrvD103KjQUGWIc1TnK1YTq5M0Onswg/ORDjqa1JEJPkPdPnVh9ipbF7M2De/7IlB4X4qXLKoApn8+bx2x/mfYXu4G+G1/2QdbaKK2yfXZKyjz0YFx+6CNrVCT2Nk8q7aHvOOzAL58vsG8iPDpupuhxlMDDn/UhyOWVInmPPQ0iJR1ZUJN8xJwXvKvBbfp3AhaBiAzkhXHNLgBR8QC5noWWMXnuVDMY3k4f3ic0V+p/qGUCN/nhptuceLxKFicMCYObSZeUzE5RAI0/OBW7l3z2iCoc+TbAnn+JrX/ObJCfzgAOXAU3tLaBFMiqQPGFKjKg1ltSYXomOFP/F7zALjpvFp4lYTBajRR+O3dqaxA9UQuRjw27vOeUpMcga4ZzL4VXFHzrxZKBHN//XIGjYAVhJ1NSSeGpeJV5/+jYzzWKfwSagRxQyVCzMooYFFXzn8Yxdm3PJlmp3GaAogNkdB9qKcrEvRINCelalzALPi0hD/HUDi8DD2PNTCLLMo6VSYtvc685Zbe+KgNzDV1YyTrRCUW6JotrS0r2ULLwnsh40hSB//nNv3XmwNmC/CmW5QAnIGj8cBMF4S2t6ohADIndojdAfNiptmaZOIT6owK7bWMgPMyopo="
|
2016-09-06 02:08:46 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
# Pushes and PR to the master branch
|
|
|
|
- master
|
2018-02-04 19:14:38 +02:00
|
|
|
# Ruby regex to match tags. Required, or travis won't trigger deploys when
|
|
|
|
# a new tag is pushed.
|
2016-09-06 02:08:46 +02:00
|
|
|
- /^\d+\.\d+\.\d+.*$/
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|