-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
59 lines (50 loc) · 1.67 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
matrix:
include:
- os: linux
env: NODE_VERSION=5.1
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
before_script:
- chmod +x ./scripts/build.js
- npm install
script:
- npm test
before_deploy:
- npm run build:linux
- npm run build:darwin
- cd bin
- zip -r ../Chrome-linux-ia32.zip ./Chrome-linux-ia32
- zip -r ../Chrome-linux-x64.zip ./Chrome-linux-x64
- zip -r ../Chrome-darwin-x64.zip ./Chrome-darwin-x64
- cd ..
cache:
directories:
- node_modules
notifications:
email:
on_success: never
on_failure: never
addons:
apt:
packages:
- build-essential
- git
- fakeroot
- zip
deploy:
provider: releases
api_key:
secure: VYOfaGvn1q6ey31cWAL2qcbrfSrjR4cVIUCmGxEODUpXSY+jlYjfY3Tcpa0MJFrKxfUJDIwdOlBahD3+JermHDugefsuJYnAF2JfPhND6o5B79AuRbi/D73fMz4ZJ2PHgW+IYOtW6uhFSnZAUeOcOuojI3+OjR2LNX4b3WkLzoRUF9l6cXjr/Jhc8+08KmC8bmajSaJFzW1PhzYIa8/S3iDhafQBsd1v4h6LD8AYfH86ObZ6wAt5YnWSZWmt1Uo2Zezs5ClUokIxfk5/H49PlGOqB7/RcZr4AukO0ab+te3QYS5XZDS+iAiYWozyvLEPhsxUGT4T9NiC72yuoF0galmbiW3gljnpDkB8S7qNa6tyK3/UT8H1Ey/e5CKKLsxWJtDdZDskGrrhgcsIByy+IBw6o6LS75SqnU/h4uUJx/8kxmCQWSrhEfB2tkRTqPauuK5503tMhz21oLX1KYA5dW/DzGSTufQjiKoI7J9d4VaHhcV5yXaCAsNQsG9cJf7JQyWL7ED4sQYGMDjEZ/JfjJjiWSWUbVU9HuzNAHXPcqa6VouPfEk7CjaifMHFiNnOJcArR5983Q3YLb5gAxPCbOL9PxNUJm8Yvhk74DHtxKNIjQK0GyFejyLu/E7r7YJ768SPcnjqvpUc5ayOPpOmRHuYwPyzvLD5vXG7sSFxsXw=
file:
- Chrome-linux-ia32.zip
- Chrome-linux-x64.zip
- Chrome-darwin-x64.zip
skip_cleanup: true
on:
tags: true
all_branches: true
after_deploy:
- "echo 'Chrome Material Design deployed!'"