-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (43 loc) · 1.03 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
language: rust
env:
global:
- RUST_BACKTRACE: full
matrix:
fast_finish: true
include:
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
rust: stable
env: TARGET=x86_64-apple-darwin
- os: windows
rust: stable
env:
- EXE_SUFFIX=.exe
- TARGET=x86_64-pc-windows-msvc
cache: cargo
install:
- bash ci/install.sh
script:
- bash ci/script.sh
before_deploy:
- bash ci/before_deploy.sh
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: android_localization-*-$TARGET.tar.gz
skip_cleanup: true
draft: true # Since anyone would be able to trigger a deploy by adding `release` tag
overwrite: false
on:
all_branches: true # Doesn't matter which branch this is
condition: $TRAVIS_TAG = release # All we look for is this tag
branches:
only:
- master # Anything that lands/PR on master should be tested
- release # To let our `release` tag trigger CI builds
notifications:
email:
on_success: never