forked from imazen/slimmage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 1.16 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
language: node_js
node_js:
- '0.10'
env:
global:
- secure: "D++xwI7K1xobbhYr75n7ebGt1ODOoX5yPkkiryimUmFa+AumbvDhET6oVXVKYOl2kFOHfUtk22wg49JVr5NL4Ol+JIUfR8M/lfdFjEhtdUbl+SlZgBI6lT5nsBVdm/+1D3qbO27xpA5kzhyreoUUeGO6Oih4DX+ttMKySCw3l40="
- secure: "KYsbzRt4iHzKd0Ehh3k3hxf95tX2fy8KM3EA85o5TQW7DYSTErSXsdxGUgvEZ57a1aEdRkiy+/xt0XVPzwVlLGP1EuKUjG8una7cm2uuVcRjKNSr11OU2E7mrQi76tLDU+XphwaBblWq8Yi1vGeffQAcQEBKn2CBzBwTmZH6Lcg="
- secure: "XtmUvTRB3O7gZpbe8oPsgruC4awjOrT80Gus4OtpTEU7+8hIw66UsM0Qctp5WoYLqfg/RBVEOtmIF43ONzi3xe44wI27/Ztq4thJrqlUvERYlFfgosgsLmAnEMlfN6918Oq6o/4E1J1SwCUDTeP4TKavj0FGCHOTtbCZkG9orIE="
before_install:
- npm install -g npm@~1.4.6
- npm install -g grunt-cli
before_script:
- npm run build
- gzip -9c slimmage.min.js > slimmage.min.js.gz
after_success:
- bash test/post_install.sh
deploy:
provider: releases
api-key:
secure: "XQAUH29i5t6U0OUGcXlzRYCGsLRxjUxB9JVL+woq4orUc0LDsVRuxPJoj9zd+ZfSVI/b2hZ+7vDiDUSEflrT5MzKh3r9SGBrtgFUHbraPe3rzP6+PGqvF9E02CUETgyeQ+05RzjJET1HMoB/lZ/N/rhfwLyPSSYeMgfCQ2AkMv4="
file:
- "slimmage.min.js"
- "slimmage.js"
- "slimmage.min.js.gz"
skip_cleanup: true
on:
tags: true
all_branches: true