forked from VSCodium/vscodium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (51 loc) · 977 Bytes
/
.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
53
54
55
56
57
matrix:
include:
- os: linux
sudo: required
env: BUILDARCH=x64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm64
dist: trusty
- os: linux
sudo: required
env: BUILDARCH=arm
dist: trusty
- os: osx
language: node_js
node_js: "12"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- . install_deps.sh
- . get_repo.sh
- . check_tags.sh
script:
- ./build.sh
before_deploy:
- ./sign_mac_app.sh
- ./create_zip.sh
- ./create_dmg.sh
- ./sum.sh
deploy:
provider: releases
skip_cleanup: true
overwrite: true
name: $LATEST_MS_TAG
api_key: $GITHUB_TOKEN
file_glob: true
file:
- ./*.sha256
- ./*.zip
- ./*.tar.gz
- ./*.dmg
- ./*.deb
- ./*.rpm
- ./*.AppImage
- ./*.AppImage.zsync
on:
all_branches: true
condition: $SHOULD_BUILD = yes
after_deploy:
- ./update_version.sh