Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 9 additions & 52 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2

dist: trusty
language: rust
services: docker

git:
submodules: false

sudo: required

# TODO Rust builds on stable by default, this can be
# overridden on a case by case basis down below.
language: rust
rust:
- stable
- beta
- nightly

env:
global:
# TODO Update this to match the name of your project.
- CRATE_NAME=rediSQL

matrix:
# TODO These are all the build jobs. Adjust as necessary. Comment out what you
# don't need
include:

# Linux
Expand Down Expand Up @@ -54,50 +54,7 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly

before_install:
- set -e
- rustup self update

install:
- sh ci/install.sh
- source ~/.cargo/env || true

script:
- bash ci/script.sh

after_script: set +e

before_deploy:
- sh ci/before_deploy.sh

deploy:
# TODO update `api_key.secure`
# - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
# - Encrypt it: `travis encrypt 0123456789012345678901234567890123456789
# - Paste the output down here
api_key:
secure: Q87NRbBMbAe/sYm+fZr9tp8huJ/TNLcrPEGdJLpfQ4E4c7FUDmUW8LtmTnMXX6ZoBpfWMFmXvQcNYRR9kWjU3QwhYhab+1e4Rnvi8tF7XIUZyDWwoltpvxY/HaNluLcnuAKADba+xYiKElnZUwLsLh/tPTJzzMUsBgr3x4Wd5DuW7qDMSBKqSGX/R/dotT7nYbH4Z23gfATlmeianbiySQlDIkpZ7xWTRMhnbyKFDhKibRBr351m73UQnoj91dqYc7bjZ31+Q8oA9y7RpZQhVmaEjTG0tleW7In+5ado5713d1epnVvFVzSyIy6V4ep2g1uuzuwbvoB1Y2RmUuY6O6kbZ69LQ3XdW3KJeZ2JXIiK5giR0WHfTkHdw0AiOqwJM0LyU6Cwfi+xnrxwL+FIqmUrIDLrsL5yeAy0mtkIBtuNVb9hhR38wiB33GA3gfdzjxEU3qCTnbWWD4WLO0Qggix2SjJB3tmiznblST+udS0BicWHO8L856G2SBMMWOnkvY+wtyYDfDWfgoUKPtydGKmyZ04j96Hm8V29Ocj6mcK5bmahODAb0ZCQYulzPeRC86GxozvvokSMrp/1ym4aRkHOznNi6b7fo1BfoACI7WYNlEQ/+s5Ix8u5TTxnCctaouTStwUR2chfHckToxOf37C1wwlU9Cro7H+2MxCJfc4=
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
# TODO Here you can pick which targets will generate binary releases
# In this example, there are some targets that are tested using the stable
# and nightly channels. This condition makes sure there is only one release
# for such targets and that's generated using the stable channel
condition: $TRAVIS_RUST_VERSION = stable
# tags: true
provider: releases
skip_cleanup: true

cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo

branches:
only:
# release tags
- master

notifications:
email:
Expand Down
Loading