mirror of https://github.com/SixLabors/ImageSharp
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.2 KiB
43 lines
1.2 KiB
language: csharp
|
|
solution: ImageSharp.sln
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux # Ubuntu 14.04
|
|
dist: trusty
|
|
sudo: required
|
|
dotnet: 2.1.4
|
|
mono: latest
|
|
# - os: osx # OSX 10.11
|
|
# osx_image: xcode7.3.1
|
|
# dotnet: 1.0.0-preview2-003121
|
|
# mono: latest
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- coverity_scan
|
|
|
|
script:
|
|
- git submodule -q update --init
|
|
- dotnet restore
|
|
- dotnet test tests/ImageSharp.Tests/ImageSharp.Tests.csproj -c Release -f "netcoreapp2.0"
|
|
|
|
env:
|
|
global:
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
- secure: "rjMvEMN9rpvIXqXqCAAKzbHyABzr7E4wPU/dYJ/mHBqlCccFpQrEXVVM1MfRFXYuWZSaIioknhLATZjT5xvIYpTNM6D57z4OTmqeRHhYm80="
|
|
|
|
before_install:
|
|
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
|
|
addons:
|
|
coverity_scan:
|
|
project:
|
|
name: "SixLabors/ImageSharp"
|
|
description: "Build submitted via Travis CI"
|
|
notification_email: james_south@hotmail.com
|
|
build_command_prepend: "dotnet restore"
|
|
build_command: "dotnet build -c Release"
|
|
branch_pattern: coverity_scan
|