-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not duplicate integration test code
- Loading branch information
Showing
3 changed files
with
28 additions
and
37 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh -e | ||
|
||
mix local.rebar --force | ||
mix local.hex --force | ||
|
||
# Install Dependencies | ||
apk add --no-progress --update git socat make gcc libc-dev | ||
|
||
# Set up local proxies | ||
socat TCP-LISTEN:5432,fork TCP-CONNECT:postgres:5432& | ||
socat TCP-LISTEN:3306,fork TCP-CONNECT:mysql:3306& | ||
socat TCP-LISTEN:1433,fork TCP-CONNECT:mssql:1433& | ||
|
||
# Run installer tests | ||
echo "Running installer tests" | ||
cd installer | ||
mix test | ||
|
||
echo "Running integration tests" | ||
cd ../integration_test | ||
mix deps.get | ||
mix test --include database |