This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Commit 08c9406 1 parent aef1f81 commit 08c9406 Copy full SHA for 08c9406
File tree 5 files changed +13
-26
lines changed
5 files changed +13
-26
lines changed Original file line number Diff line number Diff line change 26
26
],
27
27
"devDependencies" : {
28
28
"aws-sdk" : " ^2.2.21" ,
29
- "mapbox-gl-test-suite" : " mapbox/mapbox-gl-test-suite#fc3f2302bfc50ac5c779d4685d3353ee4a388eb1 " ,
29
+ "mapbox-gl-test-suite" : " mapbox/mapbox-gl-test-suite#1e0d988e187a6c9a7a74fa8d7feb9c66c2258123 " ,
30
30
"node-gyp" : " ^3.2.1" ,
31
31
"request" : " ^2.67.0" ,
32
32
"tape" : " ^4.2.2"
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ HeadlessDisplay::HeadlessDisplay() {
16
16
CGLPixelFormatAttribute attributes[] = {
17
17
kCGLPFAOpenGLProfile ,
18
18
static_cast <CGLPixelFormatAttribute>(kCGLOGLPVersion_Legacy ),
19
- kCGLPFAAccelerated ,
20
19
static_cast <CGLPixelFormatAttribute>(0 )
21
20
};
22
21
Original file line number Diff line number Diff line change @@ -31,18 +31,15 @@ workflows:
31
31
inputs :
32
32
- content : |-
33
33
#!/bin/bash
34
- set -e
35
- set -o pipefail
36
34
export TRAVIS_OS_NAME=osx
37
35
export TRAVIS_TAG=$BITRISE_GIT_TAG
36
+ export TRAVIS_JOB_NUMBER=$BITRISE_BUILD_NUMBER
38
37
export NODE_VERSION=4
39
38
export CXX=clang++
40
39
export CC=clang
41
40
source ./scripts/set_compiler.sh
42
41
./platform/node/scripts/install.sh
43
- if command -v ccache >/dev/null 2>&1; then ccache --zero-stats ; fi
44
42
./platform/node/scripts/run.sh
45
- if command -v ccache >/dev/null 2>&1; then ccache --show-stats ; fi
46
43
./platform/node/scripts/after_script.sh
47
44
- slack :
48
45
title : Post to Slack
Original file line number Diff line number Diff line change @@ -36,15 +36,17 @@ if [[ ${TRAVIS_TAG} == node-v${PACKAGE_JSON_VERSION} ]]; then
36
36
fi
37
37
fi
38
38
39
- if [[ ${TRAVIS_OS_NAME} == " linux" ]] && [ ! -z " ${AWS_ACCESS_KEY_ID} " ] && [ ! -z " ${AWS_SECRET_ACCESS_KEY} " ] ; then
40
- # Install and add awscli to PATH for uploading the results
41
- pip install --user awscli
42
- export PATH=" ` python -m site --user-base` /bin:${PATH} "
39
+ if [ ! -z " ${AWS_ACCESS_KEY_ID} " ] && [ ! -z " ${AWS_SECRET_ACCESS_KEY} " ] ; then
40
+ if [[ ${TRAVIS_OS_NAME} == " linux" ]] ; then
41
+ pip install --user awscli
42
+ export PATH=" ` python -m site --user-base` /bin:${PATH} "
43
+ else
44
+ brew install awscli
45
+ fi
43
46
44
- REPO_NAME=$( basename $TRAVIS_REPO_SLUG )
45
47
gzip --stdout node_modules/mapbox-gl-test-suite/render-tests/index.html | \
46
48
aws s3 cp --acl public-read --content-encoding gzip --content-type text/html \
47
- - s3://mapbox/$REPO_NAME /render-tests/$TRAVIS_JOB_NUMBER /index.html
49
+ - s3://mapbox/mapbox-gl-native /render-tests/$TRAVIS_JOB_NUMBER /index.html
48
50
49
- echo http://mapbox.s3.amazonaws.com/$REPO_NAME /render-tests/$TRAVIS_JOB_NUMBER /index.html
51
+ echo http://mapbox.s3.amazonaws.com/mapbox-gl-native /render-tests/$TRAVIS_JOB_NUMBER /index.html
50
52
fi
Original file line number Diff line number Diff line change @@ -7,20 +7,9 @@ source ./platform/${TRAVIS_OS_NAME}/scripts/setup.sh
7
7
8
8
BUILDTYPE=${BUILDTYPE:- Release}
9
9
10
- # ###############################################################################
11
- # Build
12
- # ###############################################################################
13
-
14
10
source ~ /.nvm/nvm.sh
15
11
nvm use $NODE_VERSION
16
12
npm install --build-from-source
17
13
18
- # ###############################################################################
19
- # Test
20
- # ###############################################################################
21
-
22
- # https://github.com/mapbox/mapbox-gl-native/issues/2150
23
- if [[ ${TRAVIS_OS_NAME} == " linux" ]]; then
24
- npm test
25
- npm run test-suite
26
- fi
14
+ npm test
15
+ npm run test-suite
You can’t perform that action at this time.
0 commit comments