Skip to content

Commit

Permalink
simplify travis
Browse files Browse the repository at this point in the history
  • Loading branch information
whossname committed Sep 15, 2019
1 parent 7c6a38e commit e6e1bde
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@

language: elixir
elixir:
- 1.8

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
Expand Down

0 comments on commit e6e1bde

Please sign in to comment.