diff --git a/.build/allow_all_python_version.py b/.build/allow_all_python_version.py index 3b7d8555..5827709f 100644 --- a/.build/allow_all_python_version.py +++ b/.build/allow_all_python_version.py @@ -2,7 +2,7 @@ import toml pyproject = toml.load("pyproject.toml") -pyproject['tool']['poetry']['dependencies']['python'] = "*" +pyproject["tool"]["poetry"]["dependencies"]["python"] = "*" with open("pyproject.toml", "w") as toml_file: - toml.dump(pyproject, toml_file) + toml.dump(pyproject, toml_file) diff --git a/.travis.yml b/.travis.yml index 16dbd127..55be6d4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -110,20 +110,26 @@ jobs: # Python 3.9 Dev Tests - name: Python 3.9 on Linux - before_install: + script: - python .build/allow_all_python_version.py + - poetry run pytest + - poetry run behave python: 3.9-dev - <<: *test_mac name: Python 3.9 on MacOS - before_install: + script: - python .build/allow_all_python_version.py + - poetry run pytest + - poetry run behave python: 3.9-dev env: JRNL_PYTHON_VERSION: 3.9.0b5 - <<: *test_windows name: Python 3.9 on Windows - before_install: + script: - python .build/allow_all_python_version.py + - poetry run pytest + - poetry run behave python: 3.9-dev env: <<: *env_windows