Last active
February 12, 2016 17:54
-
-
Save parroty/7301b13748b486765582 to your computer and use it in GitHub Desktop.
CircleCI sample
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
| dependencies: | |
| pre: | |
| - bash ./install-otp_src_17.0.sh | |
| - bash ./install-elixir.sh | |
| cache_directories: | |
| - otp_src_17.0 | |
| - elixir | |
| test: | |
| pre: | |
| - ln -s ~/circle_sample/otp_src_17.0/bin/erl ~/bin/erl | |
| - ln -s ~/circle_sample/elixir/bin/elixir ~/bin/elixir | |
| - ln -s ~/circle_sample/elixir/bin/elixirc ~/bin/elixirc | |
| - ln -s ~/circle_sample/elixir/bin/mix ~/bin/mix | |
| - ln -s ~/circle_sample/elixir/bin/iex ~/bin/iex | |
| override: | |
| - erl -version | |
| - elixir -v | |
| post: | |
| - MIX_ENV=test mix do deps.get, test |
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
| set -x | |
| set -e | |
| export PATH=`pwd`/otp_src_17.0/bin:$PATH | |
| if [ ! -e elixir/bin/elixir ]; then | |
| git clone https://github.com/elixir-lang/elixir | |
| cd elixir | |
| make; | |
| fi |
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
| set -x | |
| set -e | |
| if [ ! -e otp_src_17.0/bin/erl ]; then | |
| curl -O http://www.erlang.org/download/otp_src_17.0.tar.gz | |
| tar xzf otp_src_17.0.tar.gz | |
| cd otp_src_17.0 | |
| ./configure --enable-smp-support \ | |
| --enable-m64-build \ | |
| --disable-native-libs \ | |
| --disable-sctp \ | |
| --enable-threads \ | |
| --enable-kernel-poll \ | |
| --disable-hipe \ | |
| --without-javac | |
| make; | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment