Skip to content

Commit 5fd39d7

Browse files
committed
ci: upgrade powershell
1 parent fba08e6 commit 5fd39d7

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.travis.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
language: minimal
22

3-
dist: trusty
4-
addons:
5-
apt:
6-
sources:
7-
- sourceline: deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
8-
key_url: https://packages.microsoft.com/keys/microsoft.asc
9-
packages:
10-
- powershell
3+
dist: bionic
4+
5+
before_install:
6+
# Download the Microsoft repository GPG keys
7+
- wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
8+
# Register the Microsoft repository GPG keys
9+
- sudo dpkg -i packages-microsoft-prod.deb
10+
# Update the list of products
11+
- sudo apt-get update
12+
# Enable the "universe" repositories
13+
- sudo add-apt-repository universe
14+
# Install PowerShell
15+
- sudo apt-get install -y powershell
1116

1217
script:
1318
- pwsh -c 'Import-Module ./PSSourcegraph.psd1'

0 commit comments

Comments
 (0)