sudo Merge pull request #25 from PlasmaPower/patch-1

Push event #269 passed

  • Ran for
  • Total time
NosCoreIO/NosCore.ReverseProxy:.travis.yml@0f6657a
language: csharp
mono: none
dist: xenial
os: linux
addons:
  snaps:
    - name: dotnet-sdk
      confinement: classic
      channel: 5.0/stable
install:
  - 'export PATH="$PATH:/home/travis/.dotnet/tools"'
  - 'export PATH="$PATH:$HOME/.local/bin"'
  - sudo snap alias dotnet-sdk.dotnet dotnet
  - dotnet --version
  - chmod -R a+x scripts
env:
  global:
    - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
    - DOTNET_CLI_TELEMETRY_OPTOUT=1
jobs:
  include:
    - stage: test_unit_testing
      name: Run tests on NosCore.ReverseProxy
      script:
        - dotnet restore
        - dotnet build
        - dotnet test test/NosCore.ReverseProxy.Tests -v m
deploy:
  cleanup: true
  provider: script
  script: sudo bash ./scripts/docker-publish.sh
  on:
    branch: master
Build Config
{
  "rvm": [
    "1.9.3",
    "2.1.5"
  ],
  "sudo": false,
  "script": [
    "bundle exec rspec spec"
  ],
  "language": "ruby"
}