sudo: required
dist: trusty

env:
  global:
    - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
    - NUGET_XMLDOC_MODE=skip

branches:
  only:
    - master

cache:
  directories:
    - /home/travis/.npm
    - /home/travis/.nuget/packages
    - src/Website/node_modules

addons:
  apt:
    packages:
    - gettext
    - libcurl4-openssl-dev
    - libicu-dev
    - libssl-dev
    - libunwind8

install:
  - npm install -g npm@6.1.0
  - npm install -g gulp@3.9.1

script:
  - ./build.sh --restore-packages

sudo: required
dist: trusty

os:
  - linux
  - osx

env:
  global:
    - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
    - NUGET_XMLDOC_MODE=skip

branches:
  only:
    - master

cache:
  directories:
    - /home/travis/.npm
    - /home/travis/.nuget/packages
    - src/Website/node_modules

addons:
  apt:
    packages:
    - gettext
    - libcurl4-openssl-dev
    - libicu-dev
    - libssl-dev
    - libunwind8

install:
  - npm install -g npm
  - npm install -g gulp@3.9.1

script:
  - ./build.sh --restore-packages

Build for Linux and OS X
Build for Linux and OS X

Build for Linux and OS X in Travis CI.
Use the latest version of npm.
