2019-06-12 19:55:42 +00:00
|
|
|
language: rust
|
2019-06-18 14:30:22 +00:00
|
|
|
cache: cargo
|
2019-06-12 19:55:42 +00:00
|
|
|
dist: xenial
|
|
|
|
env:
|
2019-06-14 21:58:31 +00:00
|
|
|
global:
|
|
|
|
- PROJECT_NAME: ripgrep_all
|
|
|
|
- RUST_BACKTRACE: full
|
2019-06-12 19:55:42 +00:00
|
|
|
addons:
|
2019-06-14 21:58:31 +00:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
# For generating man page.
|
|
|
|
- libxslt1-dev
|
|
|
|
- asciidoc
|
|
|
|
- docbook-xsl
|
|
|
|
- xsltproc
|
|
|
|
- libxml2-utils
|
|
|
|
# Needed for completion-function test.
|
|
|
|
- zsh
|
|
|
|
# Needed for testing decompression search.
|
|
|
|
- xz-utils
|
|
|
|
- liblz4-tool
|
|
|
|
# For building MUSL static builds on Linux.
|
|
|
|
- musl-tools
|
|
|
|
# rga specific
|
|
|
|
- pandoc
|
|
|
|
- poppler-utils
|
2019-06-12 19:55:42 +00:00
|
|
|
matrix:
|
2019-06-14 21:58:31 +00:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
2019-06-19 08:58:02 +00:00
|
|
|
# Nightly channel.
|
|
|
|
# All *nix releases are done on the nightly channel to take advantage
|
|
|
|
# of the regex library's multiple pattern SIMD search.
|
|
|
|
- os: linux
|
2019-06-19 13:30:33 +00:00
|
|
|
rust: nightly
|
2019-06-19 08:58:02 +00:00
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
|
|
- os: osx
|
|
|
|
rust: nightly
|
|
|
|
# XML_CATALOG_FILES is apparently necessary for asciidoc on macOS.
|
|
|
|
env: TARGET=x86_64-apple-darwin XML_CATALOG_FILES=/usr/local/etc/xml/catalog
|
|
|
|
# Minimum Rust supported channel. We enable these to make sure ripgrep
|
|
|
|
# continues to work on the advertised minimum Rust version.
|
|
|
|
- os: linux
|
|
|
|
rust: 1.35.0
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
- os: linux
|
|
|
|
rust: 1.35.0
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
|
|
#- os: linux
|
|
|
|
# rust: 1.35.0
|
|
|
|
# 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
|
|
|
|
# # For generating man page.
|
|
|
|
# - libxslt1-dev
|
|
|
|
# - asciidoc
|
|
|
|
# - docbook-xsl
|
|
|
|
# - xsltproc
|
|
|
|
# - libxml2-utils
|
2019-06-18 13:23:21 +00:00
|
|
|
- os: windows
|
2019-06-14 21:58:31 +00:00
|
|
|
rust: nightly
|
2019-06-18 13:23:21 +00:00
|
|
|
env: TARGET=x86_64-pc-windows-msvc
|
2019-06-12 19:55:42 +00:00
|
|
|
install: ci/install.sh
|
|
|
|
script: ci/script.sh
|
|
|
|
before_deploy: ci/before_deploy.sh
|
|
|
|
deploy:
|
2019-06-14 21:58:31 +00:00
|
|
|
provider: releases
|
|
|
|
file_glob: true
|
2019-06-18 19:39:33 +00:00
|
|
|
file: deployment/${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.*
|
2019-06-14 21:58:31 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
condition: $TRAVIS_RUST_VERSION = nightly
|
|
|
|
tags: true
|
|
|
|
api_key:
|
2019-06-14 22:07:15 +00:00
|
|
|
secure: BACN/S5fv590pb0bq7rUNX553yxrUDk3ZDcQ9JcG0DXFkv3/XIRzoc88YbDAp065Yk9DJ8SrT9X/Al9l8/MKoLfVmcz3jdFUJAsppkO4fouOxdtiufYq5MFFlrP6SYMHy7Gx95lZsh++NSwbq+1fjMkESOTWqz1ptUmAa7ERecGuX4t/4QoPfyTYNWb84LLDqeD9Geabj7HuCsjsa4gdJUFew13zvE1SFRUkVPVGo09j/+fYVZRoY0ObqHVYQEOlj4HtHHjaYnsLgKHcGGigc252N15sm7zFM0+/lRMYIx7LLv6SmFc/eHqHy8D9gHzUx1tEYnScuNEDDHSS7hXfKGyTrOPfENAqzWCIAftveUVI/+rWmMIOWDxzxt5s9P9k9c93GP7L2L/HJlEZfr0UKQhHfcv/uOaS48vhh4WyzybgBRLFcNwrGKSoHgJhGRHdnQbTc8JMNPBEoJKdtSosQk56ZievMg2rDxF/GArpLTTe58+kMrhFbK9bGBP0YcZjaLnIZuuRf2LZQFtT9gSPFuvXjhwDaz/5a3Gp+9ZIEF50Ad/nf2xKf/rwFaFFJ0RkPdw20TCuerasQUnbpDmZRYnJNrdVlYKIIxQ6dF+PqO8/4RJ1tRYaWk79G8fDVRWp/IfvtduLKqgh/mjNgefOc9qf0DoBVxK7LJx5CHHomkE=
|
2019-06-12 19:55:42 +00:00
|
|
|
branches:
|
2019-06-14 21:58:31 +00:00
|
|
|
only:
|
|
|
|
# Pushes and PR to the master branch
|
|
|
|
- master
|
2019-06-18 13:34:12 +00:00
|
|
|
- windows
|
2019-06-14 21:58:31 +00:00
|
|
|
# Ruby regex to match tags. Required, or travis won't trigger deploys when
|
|
|
|
# a new tag is pushed.
|
|
|
|
- /^\d+\.\d+\.\d+.*$/
|
2019-06-12 19:55:42 +00:00
|
|
|
notifications:
|
2019-06-14 21:58:31 +00:00
|
|
|
email:
|
|
|
|
on_success: never
|