Skip to content

Commit

Permalink
Fix brew only on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
OTL committed Nov 5, 2017
1 parent 4fe7575 commit 1cc5246
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ matrix:
rust: nightly

before_install:
- brew update
- brew install freetype
- sh ci/install.sh

before_deploy:
- sh ci/before_deploy.sh
Expand Down
10 changes: 10 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -ex

main() {
if [ $TRAVIS_OS_NAME = osx ]; then
brew update
brew install freetype
fi
}

main

0 comments on commit 1cc5246

Please sign in to comment.