Commit Graph

77 Commits

Author SHA1 Message Date
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