Skip to content

Commit fe57a3d

Browse files
committed
Fix env on travis
1 parent d21b2b8 commit fe57a3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ branches:
99
templates:
1010
mssql: &mssql DATABASE_URL="mssql://SA:MyPassword42@localhost:1433/default?isolation_level=read committed&driver=ODBC Driver 17 for SQL Server" DATABASE_URL_OTHER="mssql://SA:MyPassword42@localhost:1433/other?isolation_level=read committed&driver=ODBC Driver 17 for SQL Server"
1111

12+
env:
13+
global:
14+
- PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR/django
15+
1216
matrix:
1317
include:
1418
- env: FLAKE8
@@ -47,7 +51,6 @@ install:
4751
- python -m pip install --upgrade pip wheel setuptools
4852
- pip install -e .["tests"]
4953
- git clone --branch=stable/2.2.x https://github.com/django/django.git --depth=1
50-
- export PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR/django
5154

5255
script:
5356
- pip install -r django/tests/requirements/py3.txt

0 commit comments

Comments
 (0)