forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_integration.sh
executable file
·25 lines (22 loc) · 850 Bytes
/
test_integration.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
export BACKEND=geonode.geoserver
export DOCKER_COMPOSE_VERSION=1.19.0
export GEOSERVER_SERVER_URL=http://localhost:8080/geoserver/
export GEOSERVER_SERVER_PORT=8080
export ON_TRAVIS=True
export TEST_RUNNER_KEEPDB=True
export TEST_RUN_INTEGRATION=True
export TEST_RUN_INTEGRATION_SERVER=False
export TEST_RUN_INTEGRATION_UPLOAD=False
export TEST_RUN_INTEGRATION_MONITORING=False
export TEST_RUN_INTEGRATION_CSW=False
export TEST_RUN_INTEGRATION_BDD=False
export MONITORING_ENABLED=False
export USER_ANALYTICS_ENABLED=False
export SESSION_EXPIRED_CONTROL_ENABLED=True
export CELERY_ALWAYS_EAGER=True
# coverage run --branch --source=geonode manage.py test --noinput --parallel=1 $@
echo "Initialize DB";
chmod +x scripts/misc/create_dbs_travis.sh;
scripts/misc/create_dbs_travis.sh before_script;
paver run_tests --coverage --local false