Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active January 29, 2019 09:01
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 JayH5/174dcae1eb7dd000d5e6633d0f9547ed to your computer and use it in GitHub Desktop.
Save JayH5/174dcae1eb7dd000d5e6633d0f9547ed to your computer and use it in GitHub Desktop.
Example Travis file with boolean expression
matrix:
include:
- elixir: '1.6'
- elixir: '1.7'
- elixir: '1.8'
script:
- mix test
# Inch 2.0 only works on Elixir >= 1.7
- '[[ "$TRAVIS_ELIXIR_VERSION" = 1.6 ]] || mix inch.report'
- mix format --check-formatted'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment