-
-
Save marjaimate/c3af1390fc2a12122de1 to your computer and use it in GitHub Desktop.
Circle CI yml configuration for Erlang 18.X builds
This file contains 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
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