Created
June 14, 2017 11:32
-
-
Save njlr/dc14844d4945da061f886d772e473257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist: trusty | |
language: generic | |
before_install: | |
# Install Linuxbrew | |
- test -d $HOME/.linuxbrew/bin || git clone https://github.com/Linuxbrew/brew.git $HOME/.linuxbrew | |
- PATH="$HOME/.linuxbrew/bin:$PATH" | |
- echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile | |
- export MANPATH="$(brew --prefix)/share/man:$MANPATH" | |
- export INFOPATH="$(brew --prefix)/share/info:$INFOPATH" | |
- brew --version | |
# Install Buck | |
- brew tap facebook/fb | |
- brew install buck | |
- buck --version | |
script: | |
- buck build :hello | |
branches: | |
except: | |
- gh-pages | |
cache: | |
directories: | |
- $HOME/.linuxbrew/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment