mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-22 06:23:20 -06:00
Added commands to initially create all testing database for all database engines in travis
This commit is contained in:
parent
9f13063b1f
commit
dfdae96da5
@ -25,6 +25,10 @@ install:
|
||||
|
||||
before_script:
|
||||
- docker-compose up -d shlink_db shlink_db_postgres shlink_db_maria shlink_db_ms
|
||||
- docker-compose exec shlink_db mysql -u root -proot -e "CREATE DATABASE shlink_test"
|
||||
- docker-compose exec -e PGPASSWORD=root shlink_db_postgres psql -U postgres -c 'create database shlink_test;'
|
||||
- docker-compose exec shlink_db_maria mysql -u root -proot -e "CREATE DATABASE shlink_test"
|
||||
- docker-compose exec shlink_db_ms /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Passw0rd!' -Q "CREATE DATABASE shlink_test;"
|
||||
- mkdir build
|
||||
- export DOCKERFILE_CHANGED=$(git diff ${TRAVIS_COMMIT_RANGE:-origin/master} --name-only | grep Dockerfile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user