-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (56 loc) · 1.21 KB
/
.travis.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
dist: bionic
jdk: openjdk11
cache:
- pip
- directories:
- $HOME/.m2
env:
global:
- AWS_REGION="us-east-1"
- AWS_DEFAULT_REGION=$AWS_REGION
before_install:
- >
pip install --upgrade pip 'attrs==19.2.0'
-r https://raw.githubusercontent.com/aws-cloudformation/cloudformation-cli/master/requirements.txt
install:
- pip install .
script:
- pre-commit run --all-files
jobs:
include:
- language: python
python: "3.6"
- language: python
python: "3.7"
- language: python
python: "3.8"
- language: java
before_install: skip
install: skip
script: mvn verify
- stage: "integ default"
language: python
python: "3.6"
install:
- mvn install
- pip install .
script:
- DIR=$(mktemp -d)
- cd "$DIR"
- ls -la
- printf "AWS::Foo::Bar\n\n1" | cfn init -vv
- mvn verify
- ls -la
- stage: "integ guided"
language: python
python: "3.6"
install:
- mvn install
- pip install .
script:
- DIR=$(mktemp -d)
- cd "$DIR"
- ls -la
- printf "AWS::Foo::Bar\n\n2" | cfn init -vv
- mvn verify
- ls -la