-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
37 lines (37 loc) · 1.4 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
script:
- cargo build --release --manifest-path gitrs_server/Cargo.toml --verbose --all
cache: cargo
branches:
only:
- development
- master
- /^\d+\.\d+\.\d+$/
matrix:
include:
- os: linux
env: TARGET=x86_64-unknown-linux-gnu
- os: osx
env: TARGET=x86_64-apple-darwin
before_install:
- nvm install 8
- nvm use 8
- npm i -g npm@6.1.0
- npm ci --prefix ./ci
before_deploy:
- node ./ci/checkTomlSemver.js
- node ./ci/buildRelease.js
after_success:
- node ./ci/checkIsRelease.js && DO_DEPLOY=true || true
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: Rw/IBYhS7nX1J5R4MsiH5QhDoDcfoComqo88sftS9tduS0KucCi3fHvMKfZ02eoYHOL23DwsyfpnN+zHJGtmmbwQXXe3dqj+5DcYRUdukdIlJmSl3saF+U9fkW9BCr/E/eNgrhDwDtUxo0u3CALot/UNr2JUtWxiaE/03hPB2VU5Jd7S9p4l+AyMzraIeJCGnSC7nNWLdgl1hOBxF7lIUPH7WgdHhaX4M0xuw6P0kd8i4g3vK8LJJ5NOd2M0q/2CDeym8tsU3FBf+gnf19JplYZp/KGpneiyoYFcydj2TlqCu4yqDLxrkQkCCum64tpHR1rGR9tDXJJS3roQ7A51ot0gVyt2aQvuF6Atl1+0u8xP+3jLaXSEXhRhXko3jpuJdBk3MxlRaqI8uXam5n0kBduybnmAjHDnF1Rsg/JBlWifLqbwWhS2Tgd8OA9jig6x9b6r5s0lyT0W8iQAqz+6VGH+p6a8h1mx4GXsg7eYzabbeHpjsds2QU07rlUUCUYFk96QYqv4Cu7HhGSy3yZaMnC4AqOIBl7ECt8FVh4A6EQvrV82adwF1ZVDoRfX2WThgfUd3YZs77bnF5AbbSnCnWbBXhmIBidLS0Z1Z45iHVuLRmuL95K2lHyWCV56NMRc87ck8dcu305ZwyfURGO0PbvPUAR+5DZyjdB1ZPZ7HBI=
file: "$TARGET.zip"
on:
repo: Axosoft/git-rs
tags: true
condition: "$DO_DEPLOY"