Skip to content

Commit

Permalink
Try Travis build stages instead of a matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed Jan 13, 2018
1 parent 6d39445 commit 3301159
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
language: generic

matrix:
stages:
- linux
- osx

jobs:
include:
- os: linux
- stage: linux
os: linux
dist: trusty
sudo: false
addons:
Expand All @@ -15,7 +20,8 @@ matrix:
before_install:
- pwsh -c 'Set-PSRepository -Name PSGallery -InstallationPolicy Trusted'
- pwsh -c 'Install-Module Pester -Scope CurrentUser'
- if: branch = develop
- stage: osx
if: branch = develop
os: osx
before_install:
- brew update
Expand Down

0 comments on commit 3301159

Please sign in to comment.