export function to subshells
This commit is contained in:
@@ -25,6 +25,7 @@ env:
|
||||
- AWS_S3_BUCKET: 'node-mapbox-gl-native'
|
||||
|
||||
before_install:
|
||||
- source ./scripts/travis_helper.sh
|
||||
- source ./scripts/flags.sh
|
||||
- ./scripts/travis_before_install.sh
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. ./scripts/travis_helper.sh
|
||||
|
||||
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
export DISPLAY=:99.0
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
. ./scripts/travis_helper.sh
|
||||
|
||||
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
#
|
||||
# install Linux dependencies
|
||||
|
||||
@@ -8,3 +8,5 @@ function mapbox_time {
|
||||
travis_time_finish
|
||||
travis_fold end "${NAME}"
|
||||
}
|
||||
|
||||
export -f mapbox_time
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. ./scripts/travis_helper.sh
|
||||
|
||||
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
#
|
||||
# we'll need the test suite on Linux
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
. ./scripts/travis_helper.sh
|
||||
|
||||
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||
#
|
||||
# build & test Linux
|
||||
|
||||
Reference in New Issue
Block a user