Skip to content

Commit

Permalink
Building only merge commits (#2907)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Dec 19, 2018
1 parent f23561e commit 8c500ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ services:
dist: trusty
mono: none
# dotnet: 2.1.300
branches:
only:
- master
- dev
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand All @@ -14,7 +18,7 @@ os:
- osx
osx_image: xcode8.3
script:
- curl https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 2.2.100-preview3-009430
- curl https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 2.2.101
- if test "$TRAVIS_OS_NAME" == "linux"; then export PATH="/home/travis/.dotnet":"$PATH"; fi
- if test "$TRAVIS_OS_NAME" == "osx"; then export PATH="/Users/travis/.dotnet":"$PATH"; fi
- dotnet --info
Expand Down
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
image: Visual Studio 2017

# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true

environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand All @@ -16,9 +20,8 @@ stack: node 9, docker

# build cache to preserve files/folders between builds
cache:
- node_modules # local npm modules
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3

- node_modules -> **\package.json # local npm modules
- '%LocalAppData%\NuGet\v3-cache -> **\*.props' # NuGet v3

# Install scripts. (runs after repo cloning)
install:
Expand Down

0 comments on commit 8c500ad

Please sign in to comment.