forked from skim-rs/skim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (57 loc) · 2.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
language: rust
services: docker
sudo: required
# TODO Rust builds on stable by default, this can be
# overridden on a case by case basis down below.
env:
global:
# TODO Update this to match the name of your project.
- CRATE_NAME=skim
matrix:
# TODO These are all the build jobs. Adjust as necessary. Comment out what you
# don't need
include:
# Linux
- env: TARGET=arm-unknown-linux-gnueabi DISABLE_TESTS=1
- env: TARGET=armv7-unknown-linux-gnueabihf DISABLE_TESTS=1
- env: TARGET=x86_64-unknown-linux-gnu
# OSX
- env: TARGET=x86_64-apple-darwin
os: osx
before_install:
- set -e
- rustup self update
- export PATH="$PATH:$HOME/.cargo/bin"
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:
api_key:
secure: vmF0/waQcwHLnsurJmb+zXjL4kjdDyLgDZ6UwLY3RzAu6IUWwE3YG6n40X4kwcmGeVBr9OXooFUFYGXnv+uUsgGCuXSXxr9+SL16YOy5YKp1SAEkdIBZb0PTXOXiiGi9O5EDSRYlvkJ9qEEO0UqvQ0NO0VY/1Zhd2pDLrdkkoWuC7SKq8QCLZA3LqfXKEq1WwAwbvJzyTcqgUWSPOeYF0+gec0wTd1W9AjpNX20vzhdVU2VC9gHWhDtaA9cHyk/tGc9HQpMwozIZokdnD3+K2trXcpwMQUkv95zODeyUgcFlv3gtXPVzlhkhsWRLwhtIPUDPbGeLwizRo8T8DAaKXlim3rwdlt7NanTkp4TztlbFK+TaKZyvZdVUDAAX3NTpZLaDO9mFOk8yeswP6yMChiCUxxItkcNdbgD+uBgoAR25vSYf1/j9+vZPg65m9cA+R6cIliFzoGTtlVp+Yv5JTUJVXjSZrPyUZ1i/S6CTqJLLz+I/sFSTKawcmxHBMlCRnzr3tHbh+ikGcYCnR7ZcsjurJ3crStNrs+afUNDtmdOmUmquACQ5AygBPf7KBy/4/xmsJ2mpKSeZTSgO//tvYRkhQMfVexU4aC6N8OXqpsLM+3IcoxTMxmTtey2dP0zIYh/hOWIaOKUTjh4rqu5kx9Z8cvJl4PnYFHferh/6lwY=
file_glob: true
file: "${CRATE_NAME}-${TRAVIS_TAG}-${TARGET}.*"
on:
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
- /^v\d+\.\d+\.\d+.*$/
- master
notifications:
email:
on_success: never