Skip to content

Commit f927ae9

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2313 from smowton/smowton/admin/coverity-travis
Improve coverity Travis build
2 parents 894a20f + 6982f86 commit f927ae9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.travis.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ jobs:
240240

241241
# Run Coverity
242242
- stage: Test different OS/CXX/Flags
243+
if: type = cron
243244
os: linux
244-
sudo: required
245+
sudo: false
245246
compiler: gcc
246247
cache: ccache
247248
addons:
@@ -261,12 +262,6 @@ jobs:
261262
build_command: "make -C src -j2; make -C jbmc/src -j2"
262263
branch_pattern: "develop"
263264
before_install:
264-
- |
265-
if [[ "${TRAVIS_EVENT_TYPE}" != "cron" ]]
266-
then
267-
echo "This is not a cron build and build is not needed."
268-
travis_terminate 0
269-
fi
270265
- mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
271266
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
272267
- g++ --version

0 commit comments

Comments
 (0)