-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (25 loc) · 1.1 KB
/
.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
language: csharp
solution: Dreetris.sln
os:
- osx
env:
global:
- Configuration=Release
install:
- wget -O MonoGame.pkg "http://teamcity.monogame.net/guestAuth/repository/download/MonoGame_PackageMacAndLinux/.lastSuccessful/MonoGame.pkg?branch_MonoGame=%3Cdefault%3E"
- sudo installer -pkg "MonoGame.pkg" -target /
- sudo mkdir /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/osx
- sudo cp /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/ffprobe /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/osx/ffprobe
- sudo cp /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/ffmpeg /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/osx/ffmpeg
- sudo cp -r /Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/Tools/osx /Users/travis/build/mdreem/dreetris_csharp/Dreetris/Content/
script:
- ./build.sh
after_success:
- zip dreetris -r ./Dreetris/bin/Release/
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: dreetris.zip
skip_cleanup: true
on:
tags: true