-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rewrite travis tests to use postgres
Replaces mysql tests with postgres tests. No new tests are added, the old tests are just rewriten for postgres.
- Loading branch information
Martin Norling
committed
Feb 13, 2019
1 parent
d6b1111
commit 0f20901
Showing
6 changed files
with
37 additions
and
25 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
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
docker pull mysql:5.7 | ||
docker pull ubuntu:16.04 | ||
PSQL_VERSION="10" | ||
PSQL_PORT="5433" | ||
|
||
VOLUME='mysql-data-volume' | ||
MYSQL_PORT=3366 | ||
docker pull postgres:"${PSQL_VERSION}" | ||
|
||
scripts/download_and_create_docker_db_volume.sh | ||
docker run -v $VOLUME:/var/lib/mysql --rm --name mysql -d -p $MYSQL_PORT:3306 mysql:5.7 | ||
docker run --rm -d -p $PSQL_PORT:5432 postgres:"${PSQL_VERSION}" |
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