Skip to content

Commit 3420360

Browse files
committed
Added Travis CI (#269)
1 parent 6d6ff0d commit 3420360

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: csharp
2+
sudo: required
3+
dist: trusty
4+
addons:
5+
apt:
6+
packages:
7+
- gettext
8+
- libcurl4-openssl-dev
9+
- libicu-dev
10+
- libssl-dev
11+
- libunwind8
12+
- zlib1g
13+
env:
14+
global:
15+
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
16+
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
17+
mono:
18+
- 4.0.5
19+
os:
20+
- linux
21+
- osx
22+
osx_image: xcode7.3
23+
branches:
24+
only:
25+
- master
26+
- development
27+
script:
28+
- ./build.sh --quiet verify

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
dotnet restore && dotnet build --configuration Release && dotnet test "samples/MusicStore/MusicStore.Test/project.json" --configuration Release && dotnet test "samples/ApplicationParts/ApplicationParts.Test/project.json" --configuration Release && dotnet test "samples/NoStartup/NoStartup.Test/project.json" --configuration Release && dotnet test "samples/Lite/Lite.Test/project.json" --configuration Release

samples/MusicStore/MusicStore.Test/MusicStore.Test.xproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
<ItemGroup>
1919
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
2020
</ItemGroup>
21+
<ItemGroup>
22+
<DnxInvisibleFolder Include=".vs\" />
23+
</ItemGroup>
2124
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
2225
</Project>

0 commit comments

Comments
 (0)