Skip to content

Instantly share code, notes, and snippets.

@njlr
Created June 14, 2017 11:32
Show Gist options
  • Save njlr/dc14844d4945da061f886d772e473257 to your computer and use it in GitHub Desktop.
Save njlr/dc14844d4945da061f886d772e473257 to your computer and use it in GitHub Desktop.
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