Skip to content

Commit c46cda9

Browse files
committed
Add travis support. Allow failures on anything but Lazarus 1.4.4.
1 parent 891da36 commit c46cda9

File tree

5 files changed

+53
-1
lines changed

5 files changed

+53
-1
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "PascalScript"]
55
path = Units/PascalScript
66
url = git://github.com/SRL/PascalScript.git
7+
[submodule "autobuild/travis-lazarus"]
8+
path = autobuild/travis-lazarus
9+
url = https://github.com/nielsAD/travis-lazarus.git

.travis.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Based on .travis.yml in `travis-lazarus` (https://github.com/nielsAD/travis-lazarus)
2+
3+
sudo: true
4+
5+
os:
6+
- linux
7+
- osx
8+
9+
env:
10+
global:
11+
- WINEPREFIX=~/.winelaz
12+
- DISPLAY=:99.0
13+
matrix:
14+
- LAZ_PKG=true # Use the latest version from the default package manager
15+
- LAZ_VER=1.0.14 # Use specific (binary) release
16+
- LAZ_VER=1.2.6
17+
- LAZ_VER=1.4.4
18+
19+
matrix:
20+
allow_failures:
21+
- env: LAZ_PKG=true
22+
- env: LAZ_VER=1.0.14
23+
- env: LAZ_VER=1.2.6
24+
- os: osx
25+
include:
26+
- os: linux
27+
env: LAZ_VER=1.4.4 LAZ_WINE=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
28+
- os: linux
29+
env: LAZ_VER=1.4.4 LAZ_WINE=wine WINEARCH=win64 LAZ_OPT="--os=win64 --cpu=x86_64"
30+
31+
before_install:
32+
# Start virtual display server
33+
- sh -e /etc/init.d/xvfb start || true
34+
- sudo apt-get update && sudo apt-get install libxtst-dev libkeybinder-dev || true
35+
36+
install:
37+
# Install prerequisites (wine/fpc/lazarus)
38+
- ./autobuild/travis-lazarus/.travis.install.py
39+
40+
script:
41+
- $LAZ_WINE lazbuild $LAZ_OPT ./Projects/Simba/Simba.lpi

README

-1
This file was deleted.

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Simba
2+
=====
3+
4+
[![Build Status](https://travis-ci.org/MerlijnWajer/Simba.svg?branch=master)](https://travis-ci.org/MerlijnWajer/Simba)
5+
6+
Simba is a program used to repeat certain (complicated) tasks. Typically these tasks involve using the mouse and keyboard. Simba is programmable, which means you can design your own logic and steps that Simba will follow, based upon certain input such a colours on the screen
7+
8+
This file is a stub. For more information, see http://wizzup.org/simba/

autobuild/travis-lazarus

Submodule travis-lazarus added at b29dd8b

0 commit comments

Comments
 (0)