sudo: required
dist: trusty

env:
  global:
    - CLI_VERSION=1.0.0-rc4-004788
    - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
    - NUGET_XMLDOC_MODE=skip

branches:
  only:
    - master

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

install:
  - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
  - ./tools/install.sh --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
  - export PATH="$DOTNET_INSTALL_DIR:$PATH"
  - npm install -g bower
  - npm install -g gulp

script:
  - ./build.sh

sudo: required
dist: trusty

env:
  global:
    - CLI_VERSION=1.0.0-rc4-004788
    - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
    - NUGET_XMLDOC_MODE=skip

branches:
  only:
    - master

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

install:
  - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
  - curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
  - export PATH="$DOTNET_INSTALL_DIR:$PATH"
  - npm install -g bower
  - npm install -g gulp
  - dotnet --info

script:
  - ./build.sh

Fix Travis CI install script
Fix Travis CI install script

Fix the Travis CI install script to correctly install the .NET SDK.
