Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Himenon committed Jul 6, 2016
1 parent 42569e4 commit fb19408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,7 +1,6 @@
sudo: false

language: python
python: 3.5

env:
matrix:
Expand All @@ -10,7 +9,7 @@ env:
- TOXENV=py34
install:
- pip install tox
- if test "$TOXENV" = py34 ; then pip install coveralls ; fi
- pip install coveralls
script: tox
after_script:
- if test "$TOXENV" = py34 ; then coveralls ; fi
8 changes: 4 additions & 4 deletions README.rst
Expand Up @@ -27,21 +27,21 @@ QuickStart ::

import OrderedFormat.formatter as odf

yml_data = """
yml_txt_data = """
human:
name: John
age: 22
"""

key_data = """
yml_key_txt = """
human:
- name
- age
- name
"""

ordered_keys = odf.load_ordered_keys(None, raw_txt=key_data, load_type="yaml")
ordered_data = odf.kflatten(yml_data, raw_keys, load_type="yaml")
ordered_keys = odf.load_ordered_keys(None, raw_txt=yml_key_txt, load_type="yaml")
ordered_data = odf.kflatten(yml_txt_data, ordered_keys, load_type="yaml")

# ordered_data = ("John", "John", 22, "John")

Expand Down

0 comments on commit fb19408

Please sign in to comment.