-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (44 loc) · 1014 Bytes
/
.travis.yml
File metadata and controls
44 lines (44 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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