File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ pushd build
19
19
export CTEST_BUILD_DIR=${TRAVIS_BUILD_DIR}
20
20
export CTEST_BUILD_COMMAND=" /usr/bin/make -j3 -i -k"
21
21
22
- python3 ${TRAVIS_BUILD_DIR} /.ci/travis/scripts/ctest2travis.py xvfb-run ctest -V --output-on-failure -S ${TRAVIS_BUILD_DIR} /.ci/travis/travis.ctest
22
+ python3 " ${TRAVIS_BUILD_DIR} /.ci/travis/scripts/ctest2travis.py" xvfb-run ctest -V --output-on-failure -S " ${TRAVIS_BUILD_DIR} /.ci/travis/travis.ctest"
23
23
24
24
popd
Original file line number Diff line number Diff line change 13
13
# #
14
14
# ##########################################################################
15
15
16
- echo ` date +%s` > /tmp/travis_timestamp
16
+ date +%s > /tmp/travis_timestamp
17
17
18
18
brew tap osgeo/osgeo4mac
19
19
brew update
@@ -56,5 +56,5 @@ brew install \
56
56
libzip
57
57
58
58
59
- mkdir -p ${HOME} /Library/Python/3.6/lib/python/site-packages
60
- echo ' import site; site.addsitedir("/usr/local/opt/gdal2-python/lib/python3.6/site-packages")' >> ${HOME} /Library/Python/3.6/lib/python/site-packages/gdal2.pth
59
+ mkdir -p " ${HOME} /Library/Python/3.6/lib/python/site-packages"
60
+ echo ' import site; site.addsitedir("/usr/local/opt/gdal2-python/lib/python3.6/site-packages")' >> " ${HOME} /Library/Python/3.6/lib/python/site-packages/gdal2.pth"
Original file line number Diff line number Diff line change 51
51
cmake \
52
52
-G ' Ninja' \
53
53
-DCMAKE_FIND_FRAMEWORK:STRING=LAST \
54
- -DCMAKE_PREFIX_PATH:STRING=${full_prefixes} \
54
+ -DCMAKE_PREFIX_PATH:STRING=" ${full_prefixes} " \
55
55
-DWITH_SERVER=OFF \
56
56
-DWITH_DESKTOP=OFF \
57
57
-DWITH_STAGED_PLUGINS=ON \
Original file line number Diff line number Diff line change 14
14
# ##########################################################################
15
15
16
16
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
17
- echo $PATH
17
+ echo " $PATH "
18
18
19
19
export PATH=/usr/bin:${PATH}
20
20
@@ -27,12 +27,12 @@ ccache -z
27
27
#
28
28
# Travis will kill the job after approx 48 minutes, we subtract 8 minutes for
29
29
# uploading and initialization (40) and subtract the bootstrapping time from that.
30
- TIMEOUT=$( expr 40 \* 60 - ` date +%s` + ` cat /tmp/travis_timestamp` )
30
+ TIMEOUT=$( expr 40 \* 60 - " $( date +%s) " + " $( cat /tmp/travis_timestamp) " )
31
31
32
32
export CTEST_BUILD_COMMAND=/usr/local/bin/ninja
33
33
export CTEST_BUILD_DIR=${TRAVIS_BUILD_DIR}
34
34
35
- gtimeout ${TIMEOUT} s ctest -V -E " $( cat ${DIR} /blacklist.txt | gsed -r ' /^(#.*?)?$/d' | gpaste -sd ' |' -) " -S ${DIR} /../travis.ctest --output-on-failure
35
+ gtimeout " ${TIMEOUT} s" ctest -V -E " $( cat ${DIR} /blacklist.txt | gsed -r ' /^(#.*?)?$/d' | gpaste -sd ' |' -) " -S " ${DIR} /../travis.ctest" --output-on-failure
36
36
37
37
rv=$?
38
38
You can’t perform that action at this time.
0 commit comments