-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrun_tests.sh
executable file
·33 lines (30 loc) · 1.25 KB
/
run_tests.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
26
27
28
29
30
31
32
33
#!/bin/env sh
set -euo pipefail
IFS=$'\n\t'
rm -rf venv
virtualenv2 venv
./venv/bin/pip install -e .
./venv/bin/pip install -r requirements/requirements_test.txt
./venv/bin/pip install 'Django>=1.11,<1.12'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.10,<1.11'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.9,<1.10'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.8,<1.9'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
rm -rf venv
virtualenv3 venv
./venv/bin/pip install -e .
./venv/bin/pip install -r requirements/requirements_test.txt
./venv/bin/pip install 'Django>=2.0,<2.1'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.11,<1.12'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.10,<1.11'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.9,<1.10'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
./venv/bin/pip install 'Django>=1.8,<1.9'
DJANGO_SETTINGS_MODULE='settings_test' venv/bin/pytest smsgateway
rm -rf venv