summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1c68e4712634acf93acd67301c47f0ef3b4254ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: elixir

elixir:
  - 1.10
  - 1.9
  - 1.8
  - 1.7

otp_release:
  - '22.2'

before_script:
  - mix compile –warnings-as-errors
  - mix credo --strict
  - if [[ "$TRAVIS_ELIXIR_VERSION" =~ "1.10" ]]; then mix format mix.exs "{config,clients,games,lib,test}/**/*.{ex,exs}" --check-formatted; fi

before_install:
  - sudo apt-get install -y build-essential erlang-dev libmagic-dev