Commit graph

145 commits

Author SHA1 Message Date
Michał Janiszewski
47b63620a1 Make Travis only do Android jobs when triggered from cron 2017-06-24 22:08:12 +02:00
Marijn van der Werf
8766ec37a1 Add Android project 2017-06-15 14:22:15 +02:00
Michał Janiszewski
91075fce41 Make PRs fail when submitted for master branch (#5567) 2017-06-08 00:09:55 +02:00
Michał Janiszewski
58c2faa610 Disable RCT2 tests on Travis 2017-06-05 23:13:33 +02:00
Marijn van der Werf
6dd3650426 Prevent pushing macOS pull request builds to .org 2017-06-01 21:59:10 +02:00
Ted John
1e550e9059 Create portable builds
Which set rpath to $ORIGIN so it can be run out the box.
2017-05-31 08:51:51 +01:00
Michał Janiszewski
8cb24b21a7 Add headless builds to travis configurations 2017-05-29 22:39:19 +02:00
Michał Janiszewski
ac593b9daf Start v0.0.8 2017-05-03 23:43:16 +02:00
Michał Janiszewski
6eeac4b536 Simplify version number for Travis builds 2017-02-09 21:20:47 +01:00
Michał Janiszewski
bde17f2b30 Start v0.0.7 2017-01-29 23:35:17 +00:00
Michał Janiszewski
d9f9fcd41a Fix build names for Travis builds 2017-01-29 23:29:28 +00:00
Michał Janiszewski
90f7a3cf4f Have at least one Travis job in release configuration 2017-01-13 12:19:35 +01:00
Michał Janiszewski
5214cb7223 Use TTF-less builds on Travis 2017-01-04 13:51:49 +01:00
Michał Janiszewski
8480713050 Start v0.0.6 2016-12-28 00:00:05 +01:00
Michał Janiszewski
77eea325ae Fix missing semicolon in travis.yml 2016-12-17 00:21:41 +01:00
Michał Janiszewski
8c30b467dd Apply make flags to all jobs
This also adds `-k` to flags, which makes `make` not bail out on first
error, but rather continue compilation.
2016-12-17 00:12:23 +01:00
Michał Janiszewski
1d35e5c7c4 Fix directory permissions, do make install 2016-12-16 23:32:48 +01:00
Michał Janiszewski
2e674b9202 Migrate Linux Travis-CI jobs to docker containers 2016-12-15 16:55:17 +00:00
Michał Janiszewski
bcf8d5422c Make sure to not push pull requests from travis 2016-10-20 11:47:54 +02:00
Michał Janiszewski
4d61396146 Set openrct2.org token for x86 builds on Travis-CI 2016-10-20 09:05:59 +02:00
Michał Janiszewski
9e229bcd45 Re-order Travis-CI jobs to improve concurrency 2016-10-16 00:24:12 +02:00
Michał Janiszewski
17ab7a4879 Build 32 bit builds with mingw
Mostly because I don't want to update all the libs right now
2016-10-16 00:24:12 +02:00
Michał Janiszewski
6c8c1a90fe Update travis jobs to use new default configuration 2016-10-16 00:24:11 +02:00
Marijn van der Werf
a27cebd973 Convert more occurences of osx to macos 2016-10-03 16:12:04 +02:00
LRFLEW
e07c374f2d Update Xcode Project for Xcode 8 2016-09-13 18:07:40 -05:00
Michał Janiszewski
344c480a0f Push Linux builds to Bintray
Seeing how Travis CI is unable to resolve their issue with connectivity,
I have added Bintray as alternative download location.
2016-08-29 18:39:11 +01:00
Michał Janiszewski
825f581f5f Package and push Linux AMD64 builds to transfer.sh (#4202) 2016-08-02 19:17:20 +02:00
Michał Janiszewski
cdab4bc0fd Add CMake target not using RCT2, use it for linux64 job 2016-06-16 11:37:52 +02:00
Michał Janiszewski
a92972eef6 Disable OpenGL for all platforms
OpenGL rendering is not yet ready, but the infrastructure is in place.
2016-06-08 18:02:18 +01:00
Michał Janiszewski
3e927ce397 Update Travis OS X image to XCode 7.3 (#3801) 2016-06-02 09:11:16 +01:00
YJSoft
e3ac505d10 Fix .travis.yml script error (#3751)
This PR fixes script error introduced by #3750

- `else;` -> `else`
- `openrct2-linux.tar.gz.zip` -> `openrct2-linux.tar.gz`
2016-05-27 07:04:24 +02:00
Michał Janiszewski
5602661a27 Publish travis artifacts to transfer.sh (#3750) 2016-05-27 00:03:31 +01:00
Michał Janiszewski
a4d2dd5451 Add linux64 job to travis matrix 2016-04-26 22:42:39 +02:00
janisozaur
54316a50dc Drop quotes preventing regex match from travis script (#3356)
Original implementation was only tested in zsh, bash requires the regex
to be without quotes.
2016-04-20 17:19:43 +01:00
Ted John
63f008566c Merge branch 'master' into develop 2016-04-15 23:25:45 +01:00
Michał Janiszewski
8fadf1cb3a Only push develop, explicit pushes or tags 2016-04-15 17:13:32 +02:00
Michał Janiszewski
da80a691bc Start 0.0.5
changelog.txt not updated yet
2016-04-13 14:20:40 +02:00
Michał Janiszewski
1693f1bb2c Rename output files to match Windows' names 2016-02-19 00:52:08 +01:00
LRFLEW
5f2822f4a7 Fixed travis OS X failure and removed using 10.10 SDK 2016-01-27 00:53:33 -07:00
Michał Janiszewski
b7820c09cd Add docs to CPack-generated packages
Includes licence, contributors, readme, etc.
2016-01-25 11:17:25 +01:00
Michał Janiszewski
d076868f5a Make Travis-CI create better standalone packages
While CPack, the component used for handling installation of files into
proper places, works fine for `install` make target, it does somewhat
poor job when it comes to generating stand-alone packages.

List of offending items include:
* Improper tar archive structure (directory entries missing)
* Package layout not suitable for running stand-alone
* Top level directory name keeps changing which hinders upcoming
  installer

Thic commit takes care of these problems by generating the package using
`make install` and then shuffling files around manually.

This also changes the hash blurb to be 7 characters instead of 8, to be
more compatible with git defaults.
2016-01-25 11:17:25 +01:00
LRFLEW
d585f85267 Fixed Uploading Builds 2016-01-22 19:21:45 -07:00
LRFLEW
394c0423f6 (Temp) Fix Travis OS X Build 2016-01-22 18:09:07 -07:00
Michał Janiszewski
69ac0b1fee Fix travis matrix 2016-01-19 16:54:13 +01:00
Michał Janiszewski
60ce32bbe0 Make filenames include 8-char git hash and version 2016-01-17 17:25:39 +01:00
Michał Janiszewski
80b85d2d2f Make travis push build artifacts to openrct2.org 2016-01-17 16:51:28 +01:00
Michał Janiszewski
7520bde6d3 Add support for OS X 10.10 in Travis CI builds
This downloads OS X 10.10 SDK, installs it and uses for compilation.

According to https://www.gosquared.com/global/mac/el-capitan/, current
market share among OS X versions is:
* 10.11 — 41.53%
* 10.10 — 38.65%
* 10.9  — 14.72%
* 10.8  — 5.60%
* 10.7  — 5.62%

I tried adding 10.9 SDK, but it fails to compile. With this change, we
should cover around 80% of OS X users.
2016-01-08 15:01:02 +01:00
Michał Janiszewski
683033d3f2 OS X job for Travis CI
This adds automated builds for OS X to our CI infrastructure.

XCode's `xcodebuild` tool is quite spammy by default, so I used a
prettifier for its output. Since this could potentially cover errors
from XCode due to piping of commands, I enabled `pipefail` option which
would cause all of pipe construct fail, should any of its commands exit
with non-zero code.

The created app bundle is packaged into dmg and uploaded to transfer.sh,
if the build was successful. To the best of my knowledge, this is *the*
way of packaging and distributing OS X applications.
2016-01-08 11:45:12 +01:00
Michał Janiszewski
5a17d6d2ec Limit travis jobs
Leave all passing jobs commented out for future reference in hopes they
will be tested with large changes or when doing changes to CMakeLists
2016-01-03 01:21:46 +01:00
Michał Janiszewski
d4d3c80b37 Move scripts to new location 2015-12-22 23:47:57 +01:00
Michał Janiszewski
12d9278e1e Use 'trusty' image for travis now that it's public
Travis CI team has recently published beta image of Trusty for testing
[1]. Switch to that image for CI builds in a non-hacky way.

[1] http://blog.travis-ci.com/2015-10-14-opening-up-ubuntu-trusty-beta/
2015-10-23 00:04:19 +02:00
Michał Janiszewski
ff19998846 Add clang to travis matrix 2015-10-22 23:54:07 +02:00
Michał Janiszewski
ec1366dd29 use docker for 32bit build 2015-09-28 21:48:41 +02:00
Michał Janiszewski
a16de307d7 Refactor project build scripts
This is mostly refactoring of cmake scripts, but also touches build.sh
and install.sh. The cmake should be much more palatable now for major
Linux distributions.

At the same time, new configuration is introduced to Linux version, one
with Twitch enabled.

Please note, however, this change requires update of orctlibs.zip for
mingw builds.
2015-09-28 21:10:21 +02:00
Michał Janiszewski
fa5aa0a524 enable linux multiplayer build for travis 2015-09-24 20:03:12 +02:00
Michał Janiszewski
4df8761831 remove windows-only code
Step 1 on road towards Linux.

Remove windows-specific code, stub it out where needed and make sure we
can still compile it the way it is.

Take care of Travis' build matrix to include new build configuration.

Install new packages.
2015-09-18 16:01:38 +02:00
Michał Janiszewski
30cccce98b try libsdl2-dev:i386 2015-09-18 14:43:43 +02:00
Michał Janiszewski
b4a9132105 Create a matrix of jobs for easier configuration testing
Right now it will post two jobs, one regular and the other one
with network disabled, so both get tested on future commits.
2015-09-18 12:01:00 +02:00
Ted John
f271bc0721 Update .travis.yml 2015-09-09 18:27:01 +01:00
Michał Janiszewski
cc6832cf48 fix travis builds by forcing it to ubuntu 14.04
This (for now) will force Travis' hand to use ubuntu 14.04 which has
mingw 4.8 available. It is enough to compile the project as it stands.
2015-09-09 09:08:28 +02:00
Michał Janiszewski
189c6bb0ee travis fixes 2015-08-05 23:25:49 +02:00
Kevin Burke
b036a51cfd Move build instructions from travis into shell scripts
fix syntax

use elif

run it with bash

fix directory incantations

add missing build steps

dont use colors if not terminal

update install.sh

add sanity check

changes

set verbose mode

enable debug output

changes to get it working on mac

Platform specific cmakelists

fix issue with intptr_t not being found/defined

update build scripts

see if it can find the pkg-config

try running it outside of cmake

check whether excho works way we expect

try -e

remove debug info
2014-05-27 12:36:56 +09:00
Kevin Burke
37434bd6c2 add caching, IRC notifications
reduce verbosity

try using .cache folder

valid travis file

name file

push travis notifications to openrct2-dev

list directory contents

untar in the subfolder

see whats in that directory

ls more dirs

.patch is in subdir too

dont be a dummy

only download if files arent present

syntax

check correct files

check if anything is in cache

try filename with no period
2014-05-26 02:42:52 +09:00
anyc
7da7e483a3 added .travis.yml and modified CMake scripts 2014-05-24 16:18:28 +02:00
Kevin Burke
ed61037bfb install extra package for stubs-32 deb 2014-05-24 13:01:34 +09:00
Kevin Burke
ff63c8d1fe find stubs-32.h 2014-05-24 12:57:02 +09:00
Kevin Burke
0b0ea74706 try adding C include path 2014-05-24 12:48:32 +09:00
Kevin Burke
ce85716eaf find predefs.h 2014-05-24 12:42:24 +09:00
Kevin Burke
242c40d5ff change ordering 2014-05-24 12:39:00 +09:00
Kevin Burke
48f9acad42 find iconv.h 2014-05-24 12:33:34 +09:00
Kevin Burke
f68bd7013b oops. need to actually make it 2014-05-24 12:31:10 +09:00
Kevin Burke
6f800ba98c introduce syntax error 2014-05-24 12:28:26 +09:00
Kevin Burke
79b1f71317 just hardcode it 2014-05-24 12:24:57 +09:00
Kevin Burke
de9d491155 sudo it harden it 2014-05-24 12:19:41 +09:00
Kevin Burke
80a74ae27d move it 2014-05-24 12:16:52 +09:00
Kevin Burke
5fc0b75414 try capitalization tricks 2014-05-24 12:13:50 +09:00
Kevin Burke
5ef8cd4f60 add sdl include dir 2014-05-24 12:08:33 +09:00
Kevin Burke
107937768e add include path 2014-05-24 12:04:06 +09:00
Kevin Burke
1f09b20a12 remove thing that isnt needed 2014-05-24 11:58:58 +09:00
Kevin Burke
0635567dcc doh 2014-05-24 11:56:20 +09:00
Kevin Burke
3d5c4df3d8 remove some packages 2014-05-24 11:56:11 +09:00
Kevin Burke
71cb38b155 another package' 2014-05-24 11:44:00 +09:00
Kevin Burke
885a3cf932 try adding another package 2014-05-24 11:41:24 +09:00
Kevin Burke
df93c872d2 show what we have in usr bin 2014-05-24 11:36:10 +09:00
Kevin Burke
d2198a11b9 install mingw related stuff 2014-05-24 11:29:02 +09:00
Kevin Burke
cbf2897526 force yes 2014-05-24 11:26:05 +09:00
Kevin Burke
1c777a653f try updating keys as well 2014-05-24 11:25:26 +09:00
Kevin Burke
666ae9538d qq must mean yes 2014-05-24 11:20:42 +09:00
Kevin Burke
c17117329b add some more yum repos 2014-05-24 11:18:43 +09:00
Kevin Burke
3b74bc8feb try installing libsdl2 2014-05-24 11:15:28 +09:00
Kevin Burke
1fd54f87a5 try cmake 2014-05-24 11:09:22 +09:00
Kevin Burke
799e4705f1 install mingw on travis 2014-05-24 02:16:51 +09:00
Kevin Burke
37d108dd62 change script. disable IRC notification for now 2014-05-24 01:56:37 +09:00
Kevin Burke
48195e9846 dont use configure 2014-05-24 01:51:09 +09:00
Kevin Burke
56bd0d9ab9 add very basic travis.yaml 2014-05-24 01:20:15 +09:00