-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.57 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
dist: trusty
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=timekeeper
matrix:
include:
- env: TARGET=mips-unknown-linux-gnu
- env: TARGET=mips-unknown-linux-uclibc
rust: nightly
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=armv7-unknown-linux-gnueabihf
before_install:
- set -e
- rustup self update
install:
- sh deployments/install.sh
- source ~/.cargo/env || true
script:
- bash deployments/tests.sh
after_script: set +e
cache: cargo
before_cache:
- chmod -R a+r $HOME/.cargo
branches:
only:
- "/^v\\d+\\.\\d+\\.\\d+.*$/"
- master
notifications:
email:
on_sucess: never
recipients:
before_deploy:
- sh deployments/deploy.sh
deploy:
provider: releases
api_key:
secure: nPkzvm8J7pF56Lpv4cOTwXsg7UmG1dBR9Ehy1rGFhnY7aWcr7auGmShqk+i5DcZMm8W6i7bTYv8z/M4cLfk1hVCJwhE6NeTHct2nnTm2M9G2rW8hYI5l+r/jxQ+UoylavVC7s+HXy/e9l7rqNyiGZhE86dhWJIQ8C592nuiL8Vo7U8CHEo0Qcr3tvKs50u6boBdG0gmr7BwdTpHlNq5hWPROjqV3ZH5bBg5lb+dU2XtG7n3XngrrYZGcoGkGbbKQFnuKAnwKse9CUWIC9OMIUkMLPOUJpKV1pKF1QdU2yYzLYyJMG/EwPRulZtSIHn3DCad/j15iW5tJ2gNBX8ZTb3sUZ53q9XJZTIgTGp//2jX0PlI0T7+Y96KvZRnVnXDevED58FtR+O8kRiJdhiFl3831TBln4iW/JF+CQSDtJ5PURq7MUx2kB1upNQdDNuo6s78O6Zp7OW+mQYxn2Shq2Zlr7H+UlBEHgLhXeVBjKnSDWLCsCgi8yTZA3vCyYiJ63I0bJgGX+oE+/eI723RwmlLf7bdnTvh/gx/Kz5JiH8O2kYDl2ZKwUrGdthSVyaJTV1hLEVHj6NPkKh5BmGtgWm/AujMYxpln+XkEY5n1UoLjCnvlJ/X/7E3FBqNqZA32yHE/b7UaHlKo0qUfe9yiE0GWY1rES0qHxbqjHcoqEQQ=
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
skip_cleanup: true
on:
tags: true
repo: ruieduardolopes/timekeeper