-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jotompki/travis-job
Travis job
- Loading branch information
Showing
40 changed files
with
2,106 additions
and
474 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 |
---|---|---|
|
@@ -125,4 +125,8 @@ dmypy.json | |
|
||
.DS_Store | ||
.idea/ | ||
.vscode/ | ||
*.tar.gz | ||
|
||
# We want to allow the tests/lib folder | ||
!tests/lib |
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
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ disable= | |
|
||
[BASIC] | ||
|
||
good-names=e,ex,f,fp,i,j,k,n,_ | ||
good-names=e,ex,f,fp,i,j,k,v,n,_ | ||
|
||
[FORMAT] | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
language: python | ||
dist: bionic | ||
sudo: false | ||
cache: | ||
pip: true | ||
directories: | ||
- $HOME/.cache/pre-commit | ||
before_install: | ||
- > | ||
pip install --upgrade pip mypy 'attrs==19.2.0' | ||
-r https://raw.githubusercontent.com/aws-cloudformation/aws-cloudformation-rpdk/master/requirements.txt | ||
install: | ||
- pip install . src/ | ||
env: | ||
global: | ||
- AWS_DEFAULT_REGION="us-east-1" | ||
script: | ||
- pre-commit run --all-files | ||
jobs: | ||
include: | ||
- python: "3.6" | ||
- python: "3.7" | ||
- python: "3.8" | ||
- stage: "integ python 3.6" | ||
language: python | ||
python: "3.6" | ||
script: | ||
- ls -la | ||
- DIR=$(mktemp -d) | ||
- cd "$DIR" | ||
- ls -la | ||
- printf "AWS::Foo::Bar\n1\ny" | cfn init -vv | ||
- ls -la | ||
- mypy src/aws_foo_bar/ --strict --implicit-reexport | ||
- stage: "integ python 3.7" | ||
language: python | ||
python: "3.7" | ||
script: | ||
- DIR=$(mktemp -d) | ||
- cd "$DIR" | ||
- ls -la | ||
- printf "AWS::Foo::Bar\n2\ny" | cfn init -vv | ||
- ls -la | ||
- mypy src/aws_foo_bar/ --strict --implicit-reexport | ||
- stage: deploy | ||
python: "3.7" | ||
script: cd $(bash before_deploy.sh) | ||
deploy: | ||
provider: pypi | ||
user: aws-cloudformation-developers | ||
password: | ||
secure: "KDSSnOhDMO3sHi4eeOSrsRcs3be5C1cYBdtnmTMOUz6npf39wsssBM6iJfkSdRdpWCr8k1cKodVhE3fcz+Z0vq33oPSWOvakynMrcRQk5Xe7Fzc53kesDEc562smPMiERtFfse0oO+InzIPjsfbsBzLqKlWWQGMqUxrshPmfexsOwKDo+JzT4lVflz6AGQPI0smXa9gHkAu11ne7mIlrmR7f8+mWgqzLTExIJFqYjNECOrT/gDo3zzySO13h5CXf7AM1i0o5p02b9hZ41blkS2OgBeDMSS9qN6QFPT+Erl6Q6y579/vM+knXlPzWBdbqJ2uWaeBfcZZlP7jNp6TkW1WPu4jPL/VnJ/3Eihy4rMkRBuer5zPHj0KBJZoU4jjZx5ctnsYPSZrH7Xo3CHnk1QNckXb+4GZVgz6EWAMGgRmDzJUWTzzu7Dw5EwFQZwESTETqqd+53Ht9yDeJgzA6OneZ4MsWq0OzjUFiiAKMS8BO/uiQrTv3/pJo75JJCLW8wrwTaBTZt6gTuYl+UNeuogITVCdStiH1ECZZ001Bv7tKDhcD4rVB/lJ/I8qIx9QXdWDiRhqqt1+WUl6tlA6sX2vFrTD2wqw9XNwNpIbHF8IoBRI9Cp5wO4m0CreAD6TYbPwEXKMyU5mCEQAv1zSJVag3hf/lhmAR3T7eLUPId2c=" | ||
server: https://test.pypi.org/legacy/ | ||
on: | ||
tags: true |
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [[ "$TRAVIS_TAG" =~ lib ]]; then | ||
echo . | ||
elif [[ "$TRAVIS_TAG" =~ plugin ]]; then | ||
echo src | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 +1,5 @@ | ||
import logging | ||
|
||
__version__ = "0.1" | ||
__version__ = "2.1.2" | ||
|
||
logging.getLogger(__name__).addHandler(logging.NullHandler()) |
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
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 |
---|---|---|
|
@@ -122,3 +122,8 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# contains credentials | ||
sam-tests/ | ||
|
||
rpdk.log* |
Oops, something went wrong.