-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
50 lines (45 loc) · 890 Bytes
/
.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
os: osx
sudo: required
language: node_js
node_js:
- "6"
#blocklist
branches:
except:
- gh-pages
cache:
directories:
- node_modules
# Environment setup
before_install:
# Download and unzip Sketch.
- wget https://www.sketchapp.com/download/sketch.zip
- unzip sketch.zip
# Install SketchTool
- Sketch.app/Contents/Resources/sketchtool/install.sh
# Install FontForge
- brew install ttfautohint fontforge --with-python
# Build
script:
- grunt
# Deploy
deploy:
- provider: releases
api_key:
secure: $GITHUB_TOKEN
skip_cleanup: true
overwrite: true
on:
repo: TradeMe/TradeMe-IconFont
tags: true
file:
- dist/tmicons-production.zip
- dist/tmicons-sketch.zip
- provider: pages
github_token:
secure: $GITHUB_TOKEN
skip_cleanup: true
overwrite: true
on:
tags: true
local_dir: docs/