forked from sidneys/pb-for-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (62 loc) · 1.35 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
matrix:
include:
- os: linux
dist: bionic
group: edge
compiler: clang
language: c
branches:
only:
- master
env:
global:
- LC_ALL: "C.UTF-8"
- LANG: "C.UTF-8"
- PATH: "/snap/bin:${PATH}"
cache:
directories:
- "./node_modules"
- "${HOME}/.yarn-cache"
- ${TRAVIS_BUILD_DIR}/snaps-cache
addons:
apt:
packages:
- bsdtar
- g++-multilib
- gcc-multilib
- graphicsmagick
- icnsutils
- libopenjp2-tools
- libxss-dev:i386
- rpm
- snapd
- xz-utils
snaps:
- name: multipass
confinement: classic
channel: edge
- name: snapcraft
confinement: classic
channel: edge
before_install:
- echo "🔧 Preparing Build Environment (Node.js)"
- curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | NVM_DIR="${HOME}"/.nvm sh
- source "${HOME}"/.nvm/nvm.sh && nvm install 14.8.0 && nvm use 14.8.0
- npm --global update npm
- npm --global install yarn
install:
- echo "📥 Installing Dependencies"
- yarn install
script:
- echo "📦 Building Project"
- npm run build
after_success:
- echo "📮 Deploying Project"
- npm run deploy
notifications:
webhooks:
on_failure: always
on_start: never
on_success: change
urls:
- https://webhooks.gitter.im/e/24d905038aa07dda37df