Fix travis sqlite build 3

This commit is contained in:
Bartek Fabiszewski 2019-02-22 22:57:38 +01:00
parent 674289a0e0
commit e842265e5d

View File

@ -35,7 +35,7 @@ before_install:
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get install sqlite3 sudo apt-get install sqlite3
mkdir -p /tmp/data/sqlite mkdir -p /tmp/data/sqlite
sqlite3 -init scripts/ulogger.sqlite /tmp/data/sqlite/ulogger.db sqlite3 -init scripts/ulogger.sqlite /tmp/data/sqlite/ulogger.db .exit
sudo chown -R travis:travis /tmp/data sudo chown -R travis:travis /tmp/data
sudo chmod -R 777 /tmp/data sudo chmod -R 777 /tmp/data
docker build -t ulogger --build-arg DB_DRIVER=sqlite . docker build -t ulogger --build-arg DB_DRIVER=sqlite .