You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.1 KiB

  1. language: cpp
  2. sudo: required
  3. dist: trusty
  4. matrix:
  5. include:
  6. - os: linux
  7. dist: trusty # Ubuntu 14.04
  8. sudo: required
  9. - os: osx
  10. osx_image: xcode8.3 # macOS 10.12
  11. env:
  12. global:
  13. - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  14. - DOTNET_CLI_TELEMETRY_OPTOUT: 1
  15. - CLI_VERSION=2.0.0
  16. addons:
  17. apt:
  18. packages:
  19. - gettext
  20. - libcurl4-openssl-dev
  21. - libicu-dev
  22. - libssl-dev
  23. - libunwind8
  24. - zlib1g
  25. # Make sure build dependencies are installed.
  26. before_install:
  27. - if test "$TRAVIS_OS_NAME" == "osx"; then ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
  28. - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli"
  29. - export PATH="$DOTNET_INSTALL_DIR:$PATH"
  30. install:
  31. - travis_retry curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 2.0 --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR"
  32. # Run the build script
  33. script:
  34. - dotnet --info
  35. - dotnet restore
  36. - dotnet test test/DotNetCore.CAP.Test/DotNetCore.CAP.Test.csproj -f netcoreapp2.0