@@ -9,92 +9,81 @@ environment:
9
9
nodejs_version : " 10.10.0"
10
10
11
11
matrix :
12
-
13
- - PYTHON : " C:\\ Python27-x64"
14
- PYTHON_VERSION : ' 2.7'
15
- PYTHON_ARCH : ' 64'
16
- LINE_COVERAGE : ' 91'
17
- NEW_FLAKE8 : 0
18
- JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
19
- - PYTHON : " C:\\ Python36-x64"
20
- PYTHON_VERSION : ' 3.6'
21
- PYTHON_ARCH : ' 64'
22
- LINE_COVERAGE : ' 91'
23
- NEW_FLAKE8 : 0
24
- JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
25
- - PYTHON : " C:\\ Python37-x64"
26
- PYTHON_VERSION : ' 3.7'
27
- PYTHON_ARCH : ' 64'
28
- LINE_COVERAGE : ' 91'
29
- NEW_FLAKE8 : 0
30
- JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
31
- - PYTHON : " C:\\ Python38-x64"
32
- PYTHON_VERSION : ' 3.8'
33
- PYTHON_ARCH : ' 64'
34
- LINE_COVERAGE : ' 72'
35
- NEW_FLAKE8 : 1
36
- JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
37
- - PYTHON : " C:\\ Python39-x64"
38
- PYTHON_VERSION : ' 3.9'
39
- PYTHON_ARCH : ' 64'
40
- LINE_COVERAGE : ' 72'
41
- NEW_FLAKE8 : 1
42
- JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
43
-
44
-
12
+ - PYTHON : " C:\\ Python36-x64"
13
+ PYTHON_VERSION : " 3.6"
14
+ PYTHON_ARCH : " 64"
15
+ LINE_COVERAGE : " 91"
16
+ NEW_FLAKE8 : 0
17
+ JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
18
+ - PYTHON : " C:\\ Python37-x64"
19
+ PYTHON_VERSION : " 3.7"
20
+ PYTHON_ARCH : " 64"
21
+ LINE_COVERAGE : " 91"
22
+ NEW_FLAKE8 : 0
23
+ JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
24
+ - PYTHON : " C:\\ Python38-x64"
25
+ PYTHON_VERSION : " 3.8"
26
+ PYTHON_ARCH : " 64"
27
+ LINE_COVERAGE : " 72"
28
+ NEW_FLAKE8 : 1
29
+ JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
30
+ - PYTHON : " C:\\ Python39-x64"
31
+ PYTHON_VERSION : " 3.9"
32
+ PYTHON_ARCH : " 64"
33
+ LINE_COVERAGE : " 72"
34
+ NEW_FLAKE8 : 1
35
+ JAVA_HOME : " C:\\ Program Files\\ Java\\ jdk11"
45
36
46
37
build : off
47
38
48
39
for :
49
- -
50
- matrix :
40
+ - matrix :
51
41
only :
52
42
- image : Visual Studio 2019
53
43
54
44
environment :
55
45
GOPATH : c:\gopath
56
46
57
47
install :
58
- # To run Nodejs workflow integ tests
59
- - ps : Install-Product node $env:nodejs_version
60
-
61
- - " set PATH=%PYTHON%;%PYTHON%\\ Scripts;%PYTHON%\\ bin;%PATH%"
62
- - " %PYTHON%\\ python.exe -m pip install -r requirements/dev.txt"
63
- - " %PYTHON%\\ python.exe -m pip install -e ."
64
- - " set PATH=C:\\ Ruby25-x64\\ bin;%PATH%"
65
- - " gem --version"
66
- - " gem install bundler -v 1.17.3"
67
- - " bundler --version"
68
- - " echo %PATH%"
69
-
70
- # setup go
71
- - rmdir c:\go /s /q
72
- - " choco install golang --version 1.15.7"
73
- - " choco install bzr"
74
- - " choco install dep"
75
- - setx PATH "C:\go\bin;C:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial;%PATH%;"
76
- - " go version"
77
- # set set GO111MODULE to auto to enable module-aware mode only when a go.mod file is present in the current directory or any parent directory
78
- # https://blog.golang.org/go116-module-changes#TOC_2.
79
- # This is required for the go dep integration tests
80
- - " go env -w GO111MODULE=auto"
81
- - " go env"
82
-
83
- # setup Gradle
84
- - " choco install gradle"
85
-
86
- # setup make
87
- - " choco install make"
88
-
89
- # Echo final Path
90
- - " echo %PATH%"
48
+ # To run Nodejs workflow integ tests
49
+ - ps : Install-Product node $env:nodejs_version
50
+
51
+ - " set PATH=%PYTHON%;%PYTHON%\\ Scripts;%PYTHON%\\ bin;%PATH%"
52
+ - " %PYTHON%\\ python.exe -m pip install -r requirements/dev.txt"
53
+ - " %PYTHON%\\ python.exe -m pip install -e ."
54
+ - " set PATH=C:\\ Ruby25-x64\\ bin;%PATH%"
55
+ - " gem --version"
56
+ - " gem install bundler -v 1.17.3"
57
+ - " bundler --version"
58
+ - " echo %PATH%"
59
+
60
+ # setup go
61
+ - rmdir c:\go /s /q
62
+ - " choco install golang --version 1.15.7"
63
+ - " choco install bzr"
64
+ - " choco install dep"
65
+ - setx PATH "C:\go\bin;C:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial;%PATH%;"
66
+ - " go version"
67
+ # set set GO111MODULE to auto to enable module-aware mode only when a go.mod file is present in the current directory or any parent directory
68
+ # https://blog.golang.org/go116-module-changes#TOC_2.
69
+ # This is required for the go dep integration tests
70
+ - " go env -w GO111MODULE=auto"
71
+ - " go env"
72
+
73
+ # setup Gradle
74
+ - " choco install gradle"
75
+
76
+ # setup make
77
+ - " choco install make"
78
+
79
+ # Echo final Path
80
+ - " echo %PATH%"
91
81
92
82
test_script :
93
- - " %PYTHON%\\ python.exe -m pytest --cov aws_lambda_builders --cov-report term-missing tests/unit tests/functional"
94
- - " %PYTHON%\\ python.exe -m pytest tests/integration"
83
+ - " %PYTHON%\\ python.exe -m pytest --cov aws_lambda_builders --cov-report term-missing tests/unit tests/functional"
84
+ - " %PYTHON%\\ python.exe -m pytest tests/integration"
95
85
96
- -
97
- matrix :
86
+ - matrix :
98
87
only :
99
88
- image : Ubuntu
100
89
121
110
- sh : " go env -w GO111MODULE=auto"
122
111
123
112
build_script :
124
- - " python -c \ " import sys; print(sys.executable)\" "
125
- - " LAMBDA_BUILDERS_DEV=1 pip install -e \ " .[dev]\" "
113
+ - ' python -c "import sys; print(sys.executable)" '
114
+ - ' LAMBDA_BUILDERS_DEV=1 pip install -e ".[dev]" '
126
115
127
116
test_script :
128
117
- " LAMBDA_BUILDERS_DEV=1 pytest --cov aws_lambda_builders --cov-report term-missing --cov-fail-under ${LINE_COVERAGE} tests/unit tests/functional"
0 commit comments