Logo
Explore Help
Register Sign In
yujunjun/knex
1
0
Fork 0
You've already forked knex
mirror of https://github.com/knex/knex.git synced 2025-09-20 21:53:50 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/scripts/docker-for-test.sh

15 lines
367 B
Bash
Raw Normal View History

fixes #1833 on postgres (#2017) * fixes #1833 on postgres * adds @elhigu requested changes * adds test when database is down * adds script for docker support * removes old comment * fixes syntax * fixes more syntax errors * fixes final syntax errors * Docker testing enabled only on linux for now
2017-06-01 16:41:35 -03:00
#!/usr/bin/env bash
Build native sql for a dialect without to string (#2237) * Exposed also positionBinding method to client base class and refactored calls to em * Added toSQL().toNative() getter which returns dialect specfic sql and bindings. * Refactored toSQL method implementation
2017-09-27 13:12:40 +03:00
if [ -n "$(docker info)" ]; then
fixes #1833 on postgres (#2017) * fixes #1833 on postgres * adds @elhigu requested changes * adds test when database is down * adds script for docker support * removes old comment * fixes syntax * fixes more syntax errors * fixes final syntax errors * Docker testing enabled only on linux for now
2017-06-01 16:41:35 -03:00
DOCKER_IMAGES=("mysql:5.7" "postgres:9.6")
for image in ${DOCKER_IMAGES[@]}; do
if [ -z "$(docker images -q ${image})" ]; then
echo "Installing Docker image ${image}"
docker pull ${image}
else
echo "Docker image ${image} found!"
fi
done
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 173ms Template: 19ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API