Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ jobs:

# Run Coverity
- stage: Test different OS/CXX/Flags
if: type = cron
os: linux
sudo: required
sudo: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm arguably too late to the party, but how is this compatible with the actual use of sudo below?

compiler: gcc
cache: ccache
addons:
Expand All @@ -261,12 +262,6 @@ jobs:
build_command: "make -C src -j2; make -C jbmc/src -j2"
branch_pattern: "develop"
before_install:
- |
if [[ "${TRAVIS_EVENT_TYPE}" != "cron" ]]
then
echo "This is not a cron build and build is not needed."
travis_terminate 0
fi
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
- g++ --version
Expand Down