variables:
  BASE_BRANCH: "master"
  CACHE_S3_PREFIX: "stack"
  CACHE_S3_VERSION: "v0.1.4"
  S3_BUCKET: "commericalhaskell-gitlab-runner-pipeline-cache"
  AWS_REGION: "us-east-1"

jobs:
- template: ./.azure/azure-nightly-template-osx.yml
  parameters:
    name: macOS
    vmImage: macOS-10.13
    os: osx

- template: ./.azure/azure-nightly-template-linux.yml
  parameters:
    name: Linux
    vmImage: ubuntu-16.04
    os: linux

- template: ./.azure/azure-nightly-template-windows.yml
  parameters:
   name: Windows
   vmImage: vs2017-win2016
   os: windows

trigger: none
pr: none

variables:
  BASE_BRANCH: "master"
  CACHE_S3_PREFIX: "stack"
  CACHE_S3_VERSION: "v0.1.4"
  S3_BUCKET: "commericalhaskell-gitlab-runner-pipeline-cache"
  AWS_REGION: "us-east-1"

jobs:
- template: ./.azure/azure-nightly-template-osx.yml
  parameters:
    name: macOS
    vmImage: macOS-10.13
    os: osx

- template: ./.azure/azure-nightly-template-linux.yml
  parameters:
    name: Linux
    vmImage: ubuntu-16.04
    os: linux

- template: ./.azure/azure-nightly-template-windows.yml
  parameters:
   name: Windows
   vmImage: vs2017-win2016
   os: windows

Disable nightly builds for PR and CI
Disable nightly builds for PR and CI

Nightly builds should only run at scheduled times. Right now the
nightly builds are running even for pull requests.
