Skip to content

Commit bd9ca77

Browse files
Ensure g++-7 is first on the PATH before calling CI-list_unsupported.sh to avoid clash with gnat g++
1 parent de751d0 commit bd9ca77

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,14 @@ script:
8787
#run the tests
8888
- (cd testsuite/gnat2goto; ./testsuite.py --timeout 60 --diffs --enable-color -j 2 )
8989
- gnat2goto/install/bin/unit_tests
90-
- (gnat --version; cd ${TRAVIS_BUILD_DIR}/experiments; ./CI-list_unsupported.sh )
90+
- |
91+
#run CI-list_unsupported, making sure g++-7 is first on the PATH
92+
( set -euo pipefail
93+
gnat --version
94+
cd ${TRAVIS_BUILD_DIR}/experiments
95+
export PATH=${TRAVIS_BUILD_DIR}/bin:${PATH}
96+
./CI-list_unsupported.sh
97+
)
9198
9299
before_cache:
93100
- ccache -s

0 commit comments

Comments
 (0)