Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
Adding TravisCI build files
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Jan 23, 2014
1 parent 2607f3f commit 3aca518
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
@@ -0,0 +1,12 @@
language: objective-c

env:
matrix:
- MONO_VERSION="3.2.5"

install:
- wget "http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_VERSION}.macos10.xamarin.x86.pkg" -target /

script:
- ./build.sh Default
2 changes: 1 addition & 1 deletion build.cmd
@@ -1,6 +1,6 @@
@echo off
cls
if not exist packages\FAKE\tools\Fake.exe (
.nuget\nuget.exe install FAKE -OutputDirectory packages -ExcludeVersion -Prerelease
.nuget\NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion -Prerelease
)
packages\FAKE\tools\FAKE.exe build.fsx %*
6 changes: 3 additions & 3 deletions build.sh
@@ -1,5 +1,5 @@
#!/bin/bash
if [ ! -f packages/FAKE/tools/Fake.exe ]; then
mono .nuget/NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion -Prerelease
if [ ! -f packages/FAKE/tools/FAKE.exe ]; then
mono --runtime=v4.0 .nuget/NuGet.exe install FAKE -OutputDirectory packages -ExcludeVersion
fi
mono packages/FAKE/tools/FAKE.exe build.fsx $@
mono --runtime=v4.0 packages/FAKE/tools/FAKE.exe build.fsx $@

0 comments on commit 3aca518

Please sign in to comment.