-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from alfhenrik/dev
Get Travis-CI build going
- Loading branch information
Showing
9 changed files
with
49 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
language: CSharp | ||
mono: latest | ||
script: | ||
- ./build.sh --quiet verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<add key="AspNetRelease" value="https://www.myget.org/F/aspnetrelease/api/v2" /> | ||
<add key="NuGet" value="https://nuget.org/api/v2/" /> | ||
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" /> | ||
</packageSources> | ||
</configuration> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@echo off | ||
cd %~dp0 | ||
|
||
IF EXIST artifacts\ RMDIR /S /Q artifacts\ | ||
IF EXIST src\JabbR\wwwroot\lib\ RMDIR /S /Q src\JabbR\wwwroot\lib\ | ||
|
||
SETLOCAL | ||
SET CACHED_DNVM=%USERPROFILE%\.dnx\bin\dnvm.cmd | ||
SET DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetrelease/api/v2 | ||
|
||
IF EXIST %CACHED_DNVM% GOTO dnvminstall | ||
echo Installing dnvm | ||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" | ||
|
||
:dnvminstall | ||
echo Installing dnx... | ||
CALL dnvm install 1.0.0-beta5-11911 -u | ||
|
||
echo Restoring... | ||
CALL dnu restore src/JabbR | ||
|
||
echo Publishing... | ||
CALL dnu publish src/JabbR --no-source --out artifacts/build/jabbr --runtime active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#!/bin/bash | ||
rm -rf artifacts | ||
|
||
rm -rf artifacts/* src/JabbR/wwwroot/lib/* | ||
|
||
if ! type dnvm > /dev/null 2>&1; then | ||
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | sh && source ~/.dnx/dnvm/dnvm.sh | ||
fi | ||
export DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetrelease/api/v2 | ||
dnvm install 1.0.0-beta5-11911 | ||
dnvm install 1.0.0-beta5-11911 -u | ||
dnu restore src/JabbR | ||
|
||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi | ||
|
||
dnu publish src/JabbR --no-source --out artifacts/build/jabbr --runtime active 2>&1 | tee buildlog | ||
grep "Build succeeded" buildlog | ||
grep "Build succeeded" buildlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
var VERSION='0.1' | ||
var FULL_VERSION='0.1' | ||
var AUTHORS='JabbR Kore Team' | ||
|
||
use-standard-lifecycle | ||
k-standard-goals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters