-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
54 lines (46 loc) · 1.51 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
48
49
50
51
52
53
54
# Use Node 7 on OSX platform
os:
- osx
- linux
language: node_js
node_js:
- "7"
addons:
apt:
update: true
packages:
- icnsutils
- graphicsmagick
# Limit branches to prevent double builds
branches:
only: master
# Speed up build using cache
cache: yarn
# Build distribution
before_install:
- ./build.osx.sh
# - pwd
# - mkdir -p ../LaserWeb4-Binaries/dist
# - cd ../../../LaserWeb4-Binaries/dist
# - ls -la
# - cd ..
# Run a test
#script:
# - npm test
# Clean up files we dont want
before_deploy:
- git tag -f "$(cat ./node_modules/lw.comm-server/app/VERSION)"
- rm -rf node_modules
- rm -rf dist/linux-unpacked
- rm -rf app
deploy:
provider: releases
api_key:
secure: "UsaS9UZpg3UllUXily0MW/ikPG5QSnoJykiHkIzOCTvGofKDQt2n30XfP6KsHA54ldmSRlKuYz95qNB2K8booJku5iiwdkIf7/uUvJPPQ8qR/OGMOICs6h+vZZ9M5YhY8yI9auESJRK1fkfsxMHQLWzKpsJWAh/XE5WjYh3GRiTILjacVucRufww6cFbqdHwdUsc4+PuFxP/2SU9TDWgbrWL1A+RP9WT/3WQrNupwT9bIut/3h97NDjWldFMnTL2PubIVtgl+XMk4qP68ut6/gSue1nVjX2vqWNvlztMAJO27sxuxDAdMlK76S0Bm8fIxagUO8m7bGHNdd4wiC7gCVpuPPuNSlla257wrH5iLUi9frZ3Mgq5Dvd2BGxgTdbQbE2ZchXA/wm30rU7EXwK0pKjAsK3YlSP/Jn8l3Rwt8QBAJ1L2yTc7Ctqm2knL+jN0x/9W1I2VKxKE6ta73ZQK0YFmRxK7rhvB9UZftVorgn3PKtI9pjSVWN9QptgjefqbDtVEcpg8DATIxCyY21qoqiq18qVY5kjiu0QUo1cGrVPb4H79FqAsajnutqDJtcTHPYWFCc2EsFOTUFzKrIBd+oGdx3AQqVWBUzlFNE+nO1Bbi176ehENuuR3G/21WkokCnyjEQcZYCI2WuqcdM2/wrQ45+XYJqV4k1xZ592IeA="
file_glob: true
file:
- dist/**/*.dmg
- dist/**/*.AppImage
skip_cleanup: true
on:
branch: master