forked from simplcommerce/SimplCommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 766 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: csharp
solution: SimplCommerce.sln
matrix:
include:
- os: osx
osx_image: xcode7.3
dotnet: 1.0.0-preview2-003131
mono: none
env: DOTNETCORE=1
- os: linux
dist: trusty
sudo: required
dotnet: 1.0.0-preview2-003131
mono: none
env: DOTNETCORE=1
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: always
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; 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
script:
- if [ -n "${DOTNETCORE}" ]; then dotnet restore && dotnet build ./src/**/**/project.json; fi