Commit Graph

262 Commits

Author SHA1 Message Date
Justin R. Miller
8dbf2bf8da refs #1483: move to simple tagging scheme, but preserve platform in publish command 2015-06-15 22:19:34 -07:00
John Firebaugh
69cf6ed3d2 Reenable iOS tests, default hardware/iOS version only for now
Use of the -destination argument to either xcodebuild or xctool
fails on Travis.

Refs #1452
2015-06-15 16:12:14 -07:00
Justin R. Miller
7ac767226f point to better appledoc install method 2015-06-03 09:36:38 -07:00
John Firebaugh
d2f7105649 Require appledoc v2.2-963 exactly 2015-05-29 11:02:29 -07:00
John Firebaugh
78ea889202 Latest homebrew appledoc should be good 2015-05-29 10:18:31 -07:00
John Firebaugh
2efaeb8816 Upload headless results in after_script
I need to see the results even for passing builds, so I can tell how
allowed failures are still failing.
2015-05-14 17:44:33 -07:00
Konstantin Käfer
83484dc849 move result deployment to after_failure script 2015-05-13 17:19:53 -07:00
Konstantin Käfer
37a34d4287 update test suite and fail Travis when comparisons fail 2015-05-13 17:19:53 -07:00
John Firebaugh
4db34bd9ef Don't do things that set -e in Travis's shell
Sourcing files that set flags bleed into Travis' wrapper script, which
messes with their workflow, e.g. preventing after_failure scripts from
triggering.

These changes fix that:

* Move exported variables from install.sh to setup.sh, so install.sh
  doesn't have to be sourced.
* Source setup.sh from run.sh, rather than directly from .travis.yml.

In addition, as a good practice, remove `set -e` etc. from setup.sh,
and add a comment not to add them back. It's the sourcing script's
responsibility to set these flags.
2015-05-13 15:21:56 -07:00
Mike Morris
3034d9d704 Revert "Revert "Merge pull request #1429 from mapbox/travis-setup""
This reverts commit 3ccb0b5610.

Conflicts:
	.travis.yml
2015-05-12 11:51:46 -04:00
Konstantin Käfer
f31b3d2ce5 build render binary 2015-05-12 15:15:05 +02:00
John Firebaugh
3ccb0b5610 Revert "Merge pull request #1429 from mapbox/travis-setup"
This reverts commit 9a233c7ed2, reversing
changes made to 642024af6d.
2015-05-11 22:03:46 -07:00
Justin R. Miller
834e59722c fixes #1503: add changelog w/ notes to appledoc index 2015-05-11 13:01:09 -07:00
Mike Morris
8e15732954 drop unnecessary mason PATH and MASON_DIR exports from setup.sh 2015-05-07 16:08:10 -04:00
Mike Morris
6b90079139 break out setup.sh from run.sh
chmod +x

drop travis_helper from android and ios

source travis_helper.sh before_install

only run setup.sh if file exists

explicitly local paths

explicit if statement in before_install

source setup.sh
2015-05-07 15:50:46 -04:00
John Firebaugh
a6dda07586 Disable iOS tests on Travis for now
They hang; seems to be an infrastructure problem.
2015-05-06 14:44:20 -07:00
Justin R. Miller
4ec34cd1fb refs #1426: add dummy source file to workaround CocoaPods 0.37.0 bug 2015-05-06 09:41:20 -07:00
Justin R. Miller
8cb146fa02 don't doc or package private headers 2015-05-05 15:13:39 -07:00
Justin R. Miller
eeb27dba1b fixes #1391: install awscli for iOS deploys 2015-05-05 12:18:18 -07:00
Justin R. Miller
a104b3de3b no longer link iOS HTML docs since missing CSS 2015-05-05 12:18:18 -07:00
Konstantin Käfer
24083c582c [iOS] add benchmarking application 2015-05-05 11:53:20 +02:00
Justin R. Miller
150c695177 use brew git to get tag flag needed 2015-05-04 16:28:41 -07:00
Justin R. Miller
8151a1e17f add HTML docs generation to iOS packaging script 2015-05-04 16:07:08 -07:00
Justin R. Miller
72b7e96ea2 fix linking for device/sim decision 2015-04-29 10:49:05 -04:00
Justin R. Miller
0995930d90 fixes #1361: split iOS device & sim builds (sim-only for tests) 2015-04-28 17:47:59 -04:00
Justin R. Miller
029a23b4a6 fix Travis deploy script path since matrix reorg 2015-04-28 16:59:08 -04:00
Konstantin Käfer
844b9b9149 move ios_test.sh to ios folder 2015-04-28 11:19:38 +02:00
Konstantin Käfer
fe85bcd737 bump up the number of concurrent jobs on iOS builds 2015-04-28 11:11:33 +02:00
Konstantin Käfer
2b633cc51c build on Travis' sudo: false infrastructure 2015-04-28 10:43:13 +02:00
Konstantin Käfer
0d5568f724 merge build targets so we only have one build file per platform
previously, we used multiple different projects for various targets (app, test, render) that overwrote each other, so it was impossible to have one project to build them all, one project to compile them, one project to run them all and in the darkness bind them
2015-04-24 11:50:50 +02:00
Justin R. Miller
b528d7cc03 fixes #830, #880: bring back iOS functional tests 2015-04-23 17:54:08 -07:00
Jason Wray
44e2bf419f Correct indentation — #1315 2015-04-22 15:35:59 -07:00
John Firebaugh
55118e5bd7 Revert "build on trusty"
This reverts commit decc493ec8.

Conflicts:
	.mason
2015-04-22 14:07:05 -07:00
Konstantin Käfer
decc493ec8 build on trusty 2015-04-20 13:26:02 +02:00
Justin R. Miller
6efce53e29 Merge pull request #975 from mapbox/974-current-sdk
build with current iOS SDK
2015-04-09 12:44:42 -07:00
Justin R. Miller
4e86e2c62a fixes #1189, #880: split OS X/iOS builds & deploy iOS to S3 2015-04-06 22:33:40 -07:00
Minh Nguyễn
8fb1bbca8e Merge pull request #1030 from mapbox/829-pod
CocoaPod podspec for beta 1
2015-03-20 10:02:06 -07:00
Thiago Marcos P. Santos
1ffe2dd615 Add a reference Valgrind suppresion file
When using Valgrind for debugging memory leaks and access violations, we
often see a lot of false positives, specially when dealing with OpenGL
that does it own buffer management. This file is an attempt to filter
these false positives.

Note that we are only filtering for the open source Radeon driver and
the list will probably grow to accommodate other setups.

To use the Valgrind with the suppression file for hunting memory leaks,
try something like:

valgrind --leak-check=full --track-origins=yes --suppressions=[path/to/valgrind.sup] ./mapbox-gl
2015-03-20 14:38:08 +02:00
Minh Nguyễn
1be8e6327b Prepared podspec for beta 1
This podspec was originally lifted from mapbox/mapbox-ios-sdk, which was structured and built quite differently. We could have the podspec build this repo as is, using scripts/package_ios.sh, but that would require developers to install the same version of Xcode as Travis is using (see #977). So this podspec instead pulls a prebuilt library. Much simpler.

Also package a LICENSE with the archive to satisfy a CocoaPods warning.

Fixes #829.
2015-03-19 14:40:44 -07:00
Konstantin Käfer
48c55af5c1 fix sprites for pixel ratios that are not 1 and 2
- OpenGL ES 2 doesn't allow NPOT textures with wrap-around
- The Sprite object reported the map's pixelRatio, even though it loaded @2x assets
- Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
2015-03-17 12:30:40 +01:00
Konstantin Käfer
5e40f72b7c scripts for running linux tests with docker 2015-03-13 12:06:11 +01:00
Minh Nguyễn
e1fdc4f8b3 Build with current iOS SDK
xcodebuild does not require a specific SDK version, but Mason puts packages in a version-specific directory. So this change uses the logic for $MASON_PLATFORM_VERSION in mason.sh in mapbox/mason.

Fixes #974.
2015-03-11 09:59:21 -07:00
Mike Morris
41d4c0c8ec dont install makedepend on travis 2015-02-10 16:14:56 -08:00
Mike Morris
eaef4c0874 chmod +x python builds scripts, run directly instead of with python gyp var 2015-02-10 14:09:32 -08:00
Justin R. Miller
d4d4cd4415 move iOS code from gl-cocoa to this project 2015-02-09 18:01:40 -08:00
Konstantin Käfer
da981e7825 move config files to config/ folder 2015-02-04 18:07:32 +01:00
Konstantin Käfer
c160b19fcf updated mesa and other targets on osx/ios 2015-02-04 11:54:01 +01:00
Konstantin Käfer
73f7db9af2 cleanup makefiles 2015-02-04 11:54:01 +01:00
Konstantin Käfer
69975c7094 make different abis for android 2015-02-04 10:49:09 +01:00
Konstantin Käfer
29baacf3a5 refactor makefile 2015-02-04 10:49:09 +01:00