-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.54 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
language: rust
rust:
- stable
- beta
- nightly
script:
- cargo build --release --verbose
- cargo test --verbose
cache: cargo
matrix:
allow_failures:
- rust: nightly
- os: windows
fast_finish: true
os:
- linux
- osx
- windows
install:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install python --version 3.7; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/Python37:/c/Python37/Scripts:$PATH; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install ninja; fi
before_deploy:
- mv target/release/tunnel-sketch-rs "target/release/tunnel-sketch-rs-$TRAVIS_TAG-$TRAVIS_OS_NAME"
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: QdoWOech2ZevKJZjymdBeInsmVcERAwYEatCGivHkns9KMlCbXpiO0UZJ12Bi6rQOvbhwqw89fKDmQDMpyBvIROvXCjaaXyZSlyAHZ7Km6j2elDcSB6+yaRmfdz2+N2lyYlkYhOWpLti5Vtqci56faDHeGPmi0Y9om/MlhmfUwrGXguo6LRHEesIcWGE3TgqRU10K/PmAfAevsN/nsiEWJpbAMNvF/YeWBHkLw+0XrZOJ9/cKb2M8qtrYlA7gjQ+wJXmqDGZwKl4/4Zf5brGNvCr5qAOf8VFeJVokE4NHoiO3bpIWdSBHCVFpGS9pd238HTMQn8o3pp7ZdofLn/559PLIJbxE757sg+HSEb/MMaVDI+N0JkKJHEgnOkdi78dsWBm2y5RmmQ6RWmZv5gZ4myDVj/oCmxqXcqzmiUZdIUSpKbvkM/h1kqZeuFqldfJVvw14iKMDpAtbyBSiyW0wvCGHH1h+QBnwAMXMkufQHVlSpnJSw4/zQCsGPEHt3N1CKOKX3bSTHQoQb6wZE6avfOJHiKNdMVgcAhkR64Y8Qmy/4uppn8/P1c25PBQokJluCfig6zf33+58PtU/wM829Bj18yyUg7kHZNXzo84e4gHrFEzbqxcaPma//LObpMTwnk/fn/7kaaO9TKG5+UStoRMHy6aL/RQSHThsypao1E=
file_glob: true
file:
- target/release/tunnel-sketch-rs-*
on:
repo: haroflow/tunnel-sketch-rs
tags: true
condition: "$TRAVIS_RUST_VERSION = stable"
all_branches: true