Skip to content

Commit 19b7a33

Browse files
committed
Fix macOS matrix expansion issue and bad gcc arg
1 parent d549043 commit 19b7a33

File tree

7 files changed

+3
-14
lines changed

7 files changed

+3
-14
lines changed

.travis.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ env:
1414
- MPICH_BOT_URL_TAIL="mpich-3.2_3.yosemite.bottle.1.tar.gz"
1515
- BUILD_TYPES="Release Debug RelWithDebInfo CodeCoverage"
1616
matrix:
17-
- GCC="6 7" OSX_PACKAGES="shellcheck gcc gcc@6 cmake"
17+
- GCC="6 7" OSX_PACKAGES="shellcheck gcc gcc@6 cmake" BUILD_TYPE="cmake"
18+
- GCC="6" OSX_PACKAGES="shellcheck gcc@6 cmake" BUILD_TYPE="InstallScript"
1819

1920
matrix:
2021
fast_finish: true
21-
include:
22-
- os: osx
23-
env:
24-
- BUILD_TYPE="InstallScript"
25-
OSX_PACKAGES="shellcheck gcc@6"
26-
GCC=6
2722
- &ubuntu
2823
os: linux
2924
sudo: false

developer-scripts/travis/before_install.linux.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/install.linux.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}

developer-scripts/travis/before_install.osx.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/install.linux.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}

developer-scripts/travis/install.linux.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/install.linux.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}

developer-scripts/travis/install.osx.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/install.osx.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}

developer-scripts/travis/test-script.InstallScript.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/test-script.InstallScript.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}

developer-scripts/travis/test-script.cmake.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ __file=developer-scripts/travis/test-script.cmake.sh
1212
# requires `set -o errtrace`
1313
__caf_err_report() {
1414
error_code=${?}
15-
local error_code
1615
echo "Error (code=${error_code}) in ${__file} in function ${1} on line ${2}." >&2
1716
false
1817
return ${error_code}
@@ -28,7 +27,7 @@ for version in ${GCC}; do
2827
export FC=gfortran-${version}
2928
export CC=gcc-${version}
3029
${FC} --version
31-
${CC} --verions
30+
${CC} --version
3231
if [[ ${OS_TYPE} == [Dd]arwin* ]]; then
3332
# Ideally this stuff would be in the `install:` section
3433
# but puting it here simplifies the Travis code a lot

0 commit comments

Comments
 (0)