-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
57 lines (48 loc) · 1.05 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
matrix:
include:
- os: linux
sudo: required
dist: trusty
group: edge
compiler: clang
language: c
branches:
only:
- master
cache:
directories:
- "./node_modules"
- "${HOME}/.yarn-cache"
addons:
apt:
packages:
- bsdtar
- g++-multilib
- gcc-multilib
- graphicsmagick
- icnsutils
- rpm
- xz-utils
before_install:
- echo "🚦 Authorizing Build"
- echo "🔧 Setting up Node"
- curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | NVM_DIR="${HOME}"/.nvm sh
- source "${HOME}"/.nvm/nvm.sh && nvm install 9.1.0 && nvm use 9.1.0
- npm --global update npm
- npm --global install yarn
install:
- echo "📥 Installing Dependencies"
- yarn install
script:
- echo "📦 Building"
- npm run build --metadata
after_success:
- echo "📮 Deploying to Github"
- npm run deploy
notifications:
webhooks:
on_failure: always
on_start: never
on_success: change
urls:
- https://webhooks.gitter.im/e/a1a9de50af1c703bfe6c