Add settings for Travis datastore emulator.
@@ -11,6 +11,11 @@ script:
- echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
- curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install google-cloud-sdk
+ - export DATASTORE_DATASET=weaviate-dev-001
+ - export DATASTORE_EMULATOR_HOST=127.0.0.1:8081
+ - export DATASTORE_EMULATOR_HOST_PATH=127.0.0.1:8081/datastore
+ - export DATASTORE_HOST=http://127.0.0.1:8081
+ - export DATASTORE_PROJECT_ID=weaviate-dev-001
- nohup gcloud beta emulators datastore start &
- rm nohup.out
- nohup go run ./cmd/weaviate-server/main.go --scheme=http --port=8080 --host=127.0.0.1 &
