Last active
January 29, 2019 09:01
-
-
Save JayH5/174dcae1eb7dd000d5e6633d0f9547ed to your computer and use it in GitHub Desktop.
Example Travis file with boolean expression
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
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