Skip to content

Commit

Permalink
Rename CI docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
wpolicarpo committed Jan 16, 2019
1 parent 594195b commit d92c6a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -2,14 +2,17 @@ sudo: required
cache: bundler
services:
- docker
env:
global:
- COMPOSE_FILE: docker-compose.ci.yml
before_install:
- sudo rm /usr/local/bin/docker-compose
- sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
install:
- docker-compose build --build-arg TARGET_VERSION=$TARGET_VERSION
script:
- docker-compose run tests
- docker-compose run ci
matrix:
include:
- env: TARGET_VERSION=2.3.8
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml → docker-compose.ci.yml
Expand Up @@ -2,7 +2,7 @@ version: "2.2"
services:
database:
image: metaskills/mssql-server-linux-rails
tests:
ci:
environment:
- ACTIVERECORD_UNITTEST_HOST=database
build: .
Expand Down

0 comments on commit d92c6a2

Please sign in to comment.