Skip to content

Commit 2064e29

Browse files
authored
Merge pull request teamviewer#6 from teamviewer/danieljoos-patch-1
Update .travis.yml
2 parents 68f6963 + b08b119 commit 2064e29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ services:
44
- docker
55

66
install:
7-
- docker pull microsoft/powershell:6.0.4-ubuntu-trusty
7+
- docker pull mcr.microsoft.com/powershell:6.2.3-alpine-3.8
88

99
script:
1010
# 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 "
1212
\$ProgressPreference='SilentlyContinue';
1313
Install-Module Pester -Force -SkipPublisherCheck -Scope CurrentUser;
1414
Invoke-Pester /tmp/src;
1515
exit $LastExitCode;"
1616
# 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 "
1818
\$ProgressPreference='SilentlyContinue';
1919
Install-Module PSScriptAnalyzer -Force -SkipPublisherCheck -Scope CurrentUser;
2020
Invoke-ScriptAnalyzer -Path /tmp/src -Recurse -ReportSummary -EnableExit;

0 commit comments

Comments
 (0)