Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Last active August 29, 2015 14:18
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 azizshamim/6e5465cd7a24a891103b to your computer and use it in GitHub Desktop.
Save azizshamim/6e5465cd7a24a891103b to your computer and use it in GitHub Desktop.
Installing elixir on a Raspberry Pi 2
#!/bin/bash
# Install the prerequisites as root
sudo apt-get install erlang-mini erlang-eunit
# Clone elixir
git clone https://github.com/elixir-lang/elixir.git
cd elixir
# Check out the right tag - we're using 1.0.3 here
git checkout v1.0.3
make clean test
echo 'export PATH="$HOME/elixir/bin:$PATH"' >> ~/.bashrc
pi@green ~/elixir $ make test_elixir
==> elixir (compile)
==> elixir (exunit)
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 115.0 seconds (86.3s on load, 28.7s on tests)
1800 tests, 0 failures
Randomized with seed 973544
==> ex_unit (exunit)
...........................................................................................................................................
Finished in 12.8 seconds (8.7s on load, 4.1s on tests)
139 tests, 0 failures
Randomized with seed 369074
==> logger (exunit)
............................................................................
Finished in 6.4 seconds (5.3s on load, 1.0s on tests)
76 tests, 0 failures
Randomized with seed 857279
==> doctest (exunit)
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 48.9 seconds (47.8s on load, 1.0s on tests)
786 tests, 0 failures
Randomized with seed 677401
==> mix (exunit)
...........................................................................................................................................................................................................................................
Finished in 167.4 seconds (20.7s on load, 146.7s on tests)
235 tests, 0 failures
Randomized with seed 772468
==> eex (exunit)
............................................................
Finished in 6.1 seconds (5.7s on load, 0.3s on tests)
60 tests, 0 failures
Randomized with seed 77138
==> iex (exunit)
.........................................................................
Finished in 10.1 seconds (4.3s on load, 5.8s on tests)
73 tests, 0 failures
Randomized with seed 765928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment