Skip to content

Commit

Permalink
Cleaned up the CI flow
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Dec 3, 2017
1 parent eb844b7 commit 4141335
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ install:
- pip3 install --user meson

script:
- meson -Db_coverage=true -Dwith_doc=false build
- meson -Db_coverage=true build
- ninja -C build
- mesontest -C build --print-errorlogs
- meson test -C build --print-errorlogs
- docker build -t b6b -f Dockerfile .
- docker run -w /root b6b ./ci_build.sh

Expand All @@ -60,6 +60,6 @@ addons:
name: "dimkr/b6b"
description: "Build submitted via Travis CI"
notification_email: dima@dimakrasner.com
build_command_prepend: "meson -Dwith_doc=false build-coverity"
build_command_prepend: "meson build-coverity"
build_command: "ninja -C build-coverity"
branch_pattern: master
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENV LANG en_US.UTF-8

RUN sed -i s/^deb.*multiverse.*/\#\&/g /etc/apt/sources.list
RUN apt-get -qq update
RUN apt-get -y --no-install-recommends install gcc clang ninja-build locales python3-pip python3-setuptools python3-wheel libffi-dev valgrind asciidoc
RUN apt-get -y --no-install-recommends install gcc clang ninja-build locales python3-pip python3-setuptools python3-wheel libffi-dev valgrind
RUN locale-gen --lang en_US.UTF-8
RUN pip3 install meson

Expand Down
6 changes: 3 additions & 3 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for i in build build-clang
do
meson test -C $i --no-rebuild --print-errorlogs --repeat 5
meson test -C $i --no-rebuild --print-errorlogs --repeat 5 --wrapper "taskset -c 0"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --leak-check=full --malloc-fill=1 --free-fill=1 --track-fds=yes"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --tool=helgrind"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --tool=helgrind --fair-sched=yes"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --leak-check=full --error-exitcode=1 --malloc-fill=1 --free-fill=1 --track-fds=yes"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --tool=helgrind --error-exitcode=1"
meson test -C $i --no-rebuild --print-errorlogs --no-suite=b6b:slow --num-processes 1 -t 2 --wrapper "valgrind --tool=helgrind --error-exitcode=1 --fair-sched=yes"
done
1 change: 0 additions & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# limitations under the License.

option('with_threads', type: 'boolean')
option('with_doc', type: 'boolean')
option('with_miniz', type: 'boolean')
option('with_linenoise', type: 'boolean')
option('with_valgrind', type: 'boolean', value: false)

0 comments on commit 4141335

Please sign in to comment.