-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
16 lines (13 loc) · 954 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: generic
services:
- docker
install:
- docker pull lcallarec/dockery
script:
- ci_env=`bash <(curl -s https://codecov.io/env)`
- docker run --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "/usr/bin/meson -D b_coverage=true build"
- docker run $ci_env --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "/usr/bin/meson configure -Dtravis=true -Ddebug=true build"
- docker run --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "/usr/bin/meson test -C build ---wrapper=\"xvfb-run --auto-servernum --server-num=1\""
- docker run --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "[ -f /dockery/build/meson-logs/testlog-xvfb-run.txt ] && cat /dockery/build/meson-logs/testlog-xvfb-run.txt; echo 1"
- docker run --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "make coverage"
- docker run $ci_env --volume=$(pwd):/dockery lcallarec/dockery /bin/bash -c "bash <(curl -s https://codecov.io/bash)"