File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ services:
4
4
- docker
5
5
6
6
install :
7
- - docker pull microsoft/powershell:6.0.4-ubuntu-trusty
7
+ - docker pull mcr. microsoft.com /powershell:6.2.3-alpine-3.8
8
8
9
9
script :
10
10
# Unit Tests for PowerShell scripts
11
- - docker run -v ${TRAVIS_BUILD_DIR}:/tmp/src/ microsoft/powershell:6.0.4-ubuntu-trusty pwsh -c "
11
+ - docker run -v ${TRAVIS_BUILD_DIR}:/tmp/src/ mcr. microsoft.com /powershell:6.2.3-alpine-3.8 pwsh -c "
12
12
\$ProgressPreference='SilentlyContinue';
13
13
Install-Module Pester -Force -SkipPublisherCheck -Scope CurrentUser;
14
14
Invoke-Pester /tmp/src;
15
15
exit $LastExitCode;"
16
16
# Linting for PowerShell scripts
17
- - docker run -v ${TRAVIS_BUILD_DIR}:/tmp/src/ microsoft/powershell:6.0.4-ubuntu-trusty pwsh -c "
17
+ - docker run -v ${TRAVIS_BUILD_DIR}:/tmp/src/ mcr. microsoft.com /powershell:6.2.3-alpine-3.8 pwsh -c "
18
18
\$ProgressPreference='SilentlyContinue';
19
19
Install-Module PSScriptAnalyzer -Force -SkipPublisherCheck -Scope CurrentUser;
20
20
Invoke-ScriptAnalyzer -Path /tmp/src -Recurse -ReportSummary -EnableExit;
You can’t perform that action at this time.
0 commit comments