Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust travis.yml for muultiple jobs
- Loading branch information
1 parent
c4a6f83
commit 1882c57
Showing
2 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
language: python | ||
services: | ||
- redis-server | ||
env: | ||
global: | ||
# - 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 | ||
- OTHER_TESTING='@bool yes' | ||
before_script: | ||
- sleep 5 | ||
python: | ||
- "3.6" | ||
install: | ||
- "pip install --upgrade pip" | ||
- "pip install --upgrade -r requirements_dev.txt" | ||
script: | ||
- make test_examples | ||
- make test | ||
after_success: | ||
- coveralls | ||
jobs: | ||
include: | ||
- stage: tests | ||
language: python | ||
python: 3.6 | ||
services: | ||
- redis-server | ||
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 | ||
- OTHER_TESTING='@bool yes' | ||
before_script: | ||
- sleep 5 | ||
install: | ||
- "pip install --upgrade pip" | ||
- "pip install --upgrade -r requirements_dev.txt" | ||
script: make test | ||
after_success: | ||
- coveralls | ||
- stage: test_examples | ||
language: python | ||
python: 3.6 | ||
before_script: | ||
- sleep 5 | ||
install: | ||
- "pip install --upgrade pip" | ||
- "pip install --upgrade -r requirements_dev.txt" | ||
script: make test_examples | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters