Last active
December 17, 2015 20:29
-
-
Save jjh42/5668352 to your computer and use it in GitHub Desktop.
The simplest example of a .travis.yml for testing using Elixir/mix
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
language: erlang | |
otp_release: | |
- R16B | |
before_install: | |
- git clone https://github.com/elixir-lang/elixir | |
- cd elixir && git checkout v$(cat ../.exenv-version) && make && cd .. | |
before_script: "export PATH=`pwd`/elixir/bin:$PATH" | |
script: "MIX_ENV=test mix do deps.get, test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've changed this to refer to a .exenv-version for the elixir version.
This assumes you are using https://github.com/mururu/exenv