diff --git a/.travis.yml b/.travis.yml index 0beda07..6626479 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ - language: elixir elixir: - 1.8 @@ -6,12 +5,18 @@ elixir: services: - docker -install: - - docker-compose build +before_script: + - docker run --name test_mssql_server -e 'ACCEPT_EULA=Y' -e SA_PASSWORD='ThePa$$word' -p 1433:1433 -d microsoft/mssql-server-linux + - ./bash_scripts/wait-for-it.sh localhost:1433 + - mix local.rebar + - rm -rf deps + - rm -rf _build + - mix deps.get + - mix script: - - docker-compose run mssql_ecto mix compile --warnings-as-errors - - docker-compose run mssql_ecto mix coveralls.travis + - mix compile --warnings-as-errors + - mix coveralls.travis after_script: - mix local.hex --force