-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (24 loc) · 1.24 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
language: rust
cache: cargo
rust:
- 1.39.0
if: tag IS blank
before_install:
- nvm install stable
- npm install -g eslint
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- make release
before_deploy:
- git config --local user.name "Justinas Stankevicius"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-release-$(date -u +'%Y%m%dT%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key:
secure: "OzbbUdlFb79fAQkE7sMEqQAmld/fjJcEX38dRS8d2mg5i2Tc1WThU0GtyYjTo9PG8ftTLPy8sUIOceAvEUudQ51MhGKoLAheaD5aW92xj0vIcm4cUVZFptt+qvay+EzmERUwBtJNSsL+8SBIB+wdPisE1UFjRcxrofDdAYcVLy7nq4EVShxdkWYTSIpCKURHFbdKcVy1dDKHGpxAzZXILptIGdkKJ4fAJysC6/OjwYvQzQ7rYHhxgLiK6Wcq1FW/D1dsWhppxnsFdh1XU/oHGpNjindbHeeZZjWGM+kbu8KGeXMoN88f6Vp3jFFWbTePoq4K/9CHbWi+8nDlYTtQthVsmxygICP5bTFx9n9cHHf+ZmV32YDAXwaqG20sEqrJHde5aZxCPkx3uXYvv4y3wBXz9hoHQV5LSF4W/S3RCMdQhBnjclmCLBGUF/i+PT6jn1MgGCOe2MpAX0AcP5SbNSpivvKlr+Y9ylpaqw5yf9QpmF2ns2kFJ4pbj8mQqdoq6kH8suXOh1W0PnUq+ZhoT165sQPnAB9HQwG2rzMNLECJE+sIKFF+t509ML7+WHj9fe765qKNX/F3B6N6e0ll7cnyYTUJDMteXNNJAoFtdq6qtCkz1uOQmdXkLo1Ag7IpXASFzoTZLC3nERxLn90rlohUDdEZdGJfd2StQJtHhZg="
file: release.tar.gz
skip_cleanup: true