-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
53 lines (44 loc) · 1.64 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: python
python:
- "2.7"
sudo: required
# Travis build script for RenPy
# based on Monika-After-Story script.
# This is the install stage
# All your dependencies go here. We have done the RenPy SDK part done for you.
install:
- cd ..
- wget https://www.renpy.org/dl/7.4.10/renpy-7.4.10-sdk.tar.bz2
- tar xf renpy-7.4.10-sdk.tar.bz2
- rm renpy-7.4.10-sdk.tar.bz2
- mv renpy-7.4.10-sdk renpy
- cd renpy
- rm -R doc
- rm -R gui
- rm -R the_question
- rm -R tutorial
- rm -R launcher
- rm renpy/common/00build.rpy
- cd ..
- cp -vRf DDLC-ModMaker/* renpy
- cd renpy
env:
# this is required as there was build issues without this, don't remove this.
- SDL_AUDIODRIVER=dummy SDL_VIDEODRIVER=dummy
# This is the script part. This is where the actual building is happening.
# This produces an artifact which we'll use later on to publish a release.
script: ./renpy.sh launcher distribute "launcher/" && cd ..
# This is where the actual releases happen. Travis has the ability to publish releases from GitHub, Amazon S3, OpenShift, etc.
# Read on https://docs.travis-ci.com/user/deployment/releases/ to learn more
# For this type of configuration, we're using the GitHub releases schema
deploy:
provider: releases
api_key:
# DO NOT CHANGE THIS! Travis can replace this since it's a Environment Variable.
# Head to Settings > Environment variables and set this.
secure: $GITHUB_API_KEY
file_glob: true
file: "*-dists/*sdk.zip"
skip_cleanup: true
on:
tags: true # your mods only builds and uploads releases on a GitHub Git tag so make sure you tag and release accordingly!