Skip to content

Instantly share code, notes, and snippets.

@marjaimate
Last active December 27, 2015 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marjaimate/c3af1390fc2a12122de1 to your computer and use it in GitHub Desktop.
Save marjaimate/c3af1390fc2a12122de1 to your computer and use it in GitHub Desktop.
Circle CI yml configuration for Erlang 18.X builds
machine:
environment:
PATH: ${HOME}/otp_src_18.0/bin:${PATH}
general:
artifacts:
- ".eunit/"
dependencies:
cache_directories:
- "~/otp_src_18.0"
- "~/rebar"
pre:
- if [ ! -d ~/otp_src_18.0 ]; then wget http://www.erlang.org/download/otp_src_18.0.tar.gz; tar zxvf otp_src_18.0.tar.gz -C $HOME; cd ~/otp_src_18.0 && ./configure && make && sudo make install; fi
- if [ ! -f ~/otp_src_18.0/bin/rebar ]; then git clone git://github.com/rebar/rebar.git; cd rebar && ./bootstrap; cp rebar ~/otp_src_18.0/bin/rebar; fi
- rebar get-deps
- rebar compile
test:
override:
- make test
deployment:
staging:
branch: master
heroku:
appname: app-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment