forked from hawkthorne/hawkthorne-journey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 976 Bytes
/
.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: python
os: linux
dist: bionic
services:
- xvfb
before_install:
- "export DISPLAY=:99.0"
install:
- sudo apt-get update -y
- sudo apt-get install python-dev libffi-dev libssl-dev -y
- sudo apt-get install python-virtualenv lua5.1 -y
# download Love2D 0.10.1 and the liblove dependency (links are for x64 architecture)
- wget https://github.com/love2d/love/releases/download/0.10.1/liblove0_0.10.1ppa1_amd64.deb
- wget https://github.com/love2d/love/releases/download/0.10.1/love_0.10.1ppa1_amd64.deb
# install Love2D 0.10.1
- sudo apt install libphysfs1 # required dependency
- sudo apt-get install ./liblove0_0.10.1ppa1_amd64.deb
- sudo apt-get install ./love_0.10.1ppa1_amd64.deb
- mkdir -p $TRAVIS_BUILD_DIR/share/love/
env:
global:
- XDG_DATA_HOME="$TRAVIS_BUILD_DIR/share"
script: make deploy
addons:
artifacts:
paths:
- ./build/hawkthorne-osx.zip
- ./build/hawkthorne-win-x86.zip
- ./build/hawkthorne.love