Skip to content

Commit 159092c

Browse files
Shreyas-vgrnikhilym
authored andcommitted
Travis build failures fix (#120)
1 parent 6b9a45b commit 159092c

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,8 @@ target/
6666

6767
# IntelliJ configs
6868
*.iml
69+
.idea/
70+
71+
# mypy cache
72+
.mypy_cache/
73+

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ matrix:
3030
env:
3131
- TOX_ENV=py37-mywin
3232
before_install:
33-
- choco install python3
33+
- choco install python3 --version 3.7.4
3434
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
35-
- set TRAVIS_PYTHON_VERSION='3.6'
35+
- set TRAVIS_PYTHON_VERSION='3.7'
3636
install:
3737
- pip install --upgrade tox
3838
script:

ask-sdk-core/ask_sdk_core/serialize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class DefaultSerializer(Serializer):
5959
}
6060

6161
def serialize(self, obj): # type: ignore
62-
# type: (Any) -> Union[Dict[str, Any], List, Tuple, str, int, float, None]
62+
# type: (Any) -> Union[Dict[str, Any], List, Tuple, str, int, float, bytes, None]
6363
"""Builds a serialized object.
6464
6565
* If obj is None, return None.
@@ -79,7 +79,7 @@ def serialize(self, obj): # type: ignore
7979
:param obj: The data to serialize.
8080
:type obj: object
8181
:return: The serialized form of data.
82-
:rtype: Union[Dict[str, Any], List, Tuple, str, int, float, None]
82+
:rtype: Union[Dict[str, Any], List, Tuple, str, int, float, bytes, None]
8383
"""
8484
if obj is None:
8585
return None

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ setenv =
4949
AWS_DEFAULT_REGION = us-west-2
5050
commands =
5151
flake8 .
52-
pip install --upgrade pip
52+
#pip install --upgrade pip
5353
pip install --upgrade wheel
5454
python {toxinidir}\scripts\ci\sdk_install
5555
python {toxinidir}\scripts\ci\run_tests

0 commit comments

Comments
 (0)