Skip to content

Commit

Permalink
Enable python 3.7 in TravisCI config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperras authored and rochacbruno committed Oct 24, 2018
1 parent c26e274 commit 660fc63
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions .travis.yml
Expand Up @@ -57,28 +57,31 @@ jobs:
- "pip install --upgrade -r requirements_dev.txt"
script: make test

# PYYAML IS BROKEN in 3.7 dev
# - stage: Python 3.7
# language: python
# python: "3.7-dev"
# env:
# - DYNACONF_SETTINGS=dynaconf.test_settings
# - DOTENV_PATH_FOR_DYNACONF=/home/travis/build/rochacbruno/dynaconf/.env
# - DYNATRAVIS_ENV_BOOLEAN='@bool true'
# - DYNATRAVIS_ENV_INT='@int 42'
# - DYNATRAVIS_ENV_FLOAT='@float 42.2'
# - DYNATRAVIS_ENV_LIST='@json ["dyna", "conf"]'
# # - DYNATRAVIS_ENV_DICT='@json {"dyna": "conf"}' how to fix this?
# - DYNATRAVIS_ENV_DICT='@json {}'
# - DYNATRAVIS_ENV_PURE_INT=42
# - DYNATRAVIS_ENV_STR_INT="'42'"
# - OTHER_TESTING='@bool yes'
# - OTHER_ENABLED=true
# - OTHER_DISABLED=false
# install:
# - "pip install --upgrade pip"
# - "pip install --upgrade -r requirements_dev.txt"
# script: make test
- stage: Python 3.7
language: python
python: "3.7"
dist: xenial
sudo: yes
env:
- DYNACONF_SETTINGS=dynaconf.test_settings
- DOTENV_PATH_FOR_DYNACONF=/home/travis/build/rochacbruno/dynaconf/.env
- DYNATRAVIS_ENV_BOOLEAN='@bool true'
- DYNATRAVIS_ENV_INT='@int 42'
- DYNATRAVIS_ENV_FLOAT='@float 42.2'
- DYNATRAVIS_ENV_LIST='@json ["dyna", "conf"]'
# - DYNATRAVIS_ENV_DICT='@json {"dyna": "conf"}' how to fix this?
- DYNATRAVIS_ENV_DICT='@json {}'
- DYNATRAVIS_ENV_PURE_INT=42
- DYNATRAVIS_ENV_STR_INT="'42'"
- OTHER_TESTING='@bool yes'
- OTHER_ENABLED=true
- OTHER_DISABLED=false
before_script:
- sleep 5
install:
- "pip install --upgrade pip"
- "pip install --upgrade -r requirements_dev.txt"
script: make test

- stage: Python 3.6 with coverage
language: python
Expand Down

0 comments on commit 660fc63

Please sign in to comment.