Skip to content

Commit 906a26a

Browse files
committed
Start managing .travis.yml
1 parent e12dc64 commit 906a26a

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.sync.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@
55
include_todos: true
66
selected_profile: false
77
".travis.yml":
8-
unmanaged: true
8+
simplecov: true
9+
os:
10+
- linux
11+
- osx
12+
before_install_pre:
13+
- bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check
14+
- 'pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information'
15+
- if [ $BUNDLER_VERSION ]; then
16+
gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri;
17+
fi
918
appveyor.yml:
1019
unmanaged: true
1120
Gemfile:

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
---
22
os:
33
- linux
4-
# OSX Only tests on the latest Puppet Gem, not the full matrix as there's no need to double up
5-
# testing effort here. We are only concerned about whether the Mac OSX edition of PowerShell Core
6-
# will work with our PowerShell manager code.
74
- osx
8-
95
dist: xenial
106
language: ruby
117
cache: bundler
128
before_install:
13-
# Additional instructions
149
- bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check
15-
# Output the PowerShell Core version information
16-
- pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable
17-
- if [ $BUNDLER_VERSION ]; then
18-
gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri;
19-
fi
10+
- pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information
11+
- if [ $BUNDLER_VERSION ]; then gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; fi
2012
- bundle -v
2113
- rm -f Gemfile.lock
2214
- gem update --system $RUBYGEMS_VERSION

0 commit comments

Comments
 (0)