25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
1.0 KiB

  1. language: cpp
  2. sudo: required
  3. dist: trusty
  4. os:
  5. - linux
  6. - osx
  7. env:
  8. global:
  9. - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  10. - DOTNET_CLI_TELEMETRY_OPTOUT: 1
  11. - CLI_VERSION=2.0.0
  12. addons:
  13. apt:
  14. packages:
  15. - gettext
  16. - libcurl4-openssl-dev
  17. - libicu-dev
  18. - libssl-dev
  19. - libunwind8
  20. - zlib1g
  21. # Make sure build dependencies are installed.
  22. before_install:
  23. - 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
  24. - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
  25. - sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
  26. - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
  27. - sudo apt-get update
  28. - sudo apt-get install -y dotnet-sdk-2.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.2
  29. # Run the build script
  30. script:
  31. - ./build.sh