Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Commit

Permalink
Add Travis job to build fonts automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Aug 8, 2017
1 parent 52fcba9 commit 57cd38e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: generic

sudo: required

env:
global:
- FONTS_DIR="$TRAVIS_BUILD_DIR/fonts"

services:
- docker

install:
- docker pull maximbaz/emojione-fonts-build
- mkdir "$FONTS_DIR"

script:
- docker run --rm -v "$FONTS_DIR":/fonts -v "$TRAVIS_BUILD_DIR":/assets maximbaz/emojione-fonts-build

deploy:
on:
tags: true
skip_cleanup: true
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file:
- "$FONTS_DIR/emojione-android.ttf"

0 comments on commit 57cd38e

Please sign in to comment.