Skip to content

Instantly share code, notes, and snippets.

@jjh42
Last active December 17, 2015 20:29
Show Gist options
  • Save jjh42/5668352 to your computer and use it in GitHub Desktop.
Save jjh42/5668352 to your computer and use it in GitHub Desktop.
The simplest example of a .travis.yml for testing using Elixir/mix
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"
@jjh42
Copy link
Author

jjh42 commented May 30, 2013

I've changed this to refer to a .exenv-version for the elixir version.

This assumes you are using https://github.com/mururu/exenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment