GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — snapper/.travis.tumbleweed.sh at master · ken23421/snapper Expand file tree/ Copy path.travis.tumbleweed.shMore file actions executable file ·41 lines (32 loc) · 1.43 KB / Copy path.travis.tumbleweed.shFile metadata and controlsexecutable file ·41 lines (32 loc) · 1.43 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 #! /bin/bash set -e -x make -f Makefile.repo make package # run the osc source validator to check the .spec and .changes locally (cd package && /usr/lib/obs/service/source_validator) # Build the binary package locally, use plain "rpmbuild" to make it simple. # "osc build" is too resource hungry (builds a complete chroot from scratch). # Moreover it does not work in a Docker container (it fails when trying to mount # /proc and /sys in the chroot). cp package/* /usr/src/packages/SOURCES/ rpmbuild -bb --with coverage -D "jobs `nproc`" package/*.spec # test the %pre/%post scripts by installing/updating/removing the built packages # ignore the dependencies to make the test easier, as a smoke test it's good enough rpm -iv --force --nodeps /usr/src/packages/RPMS/*/*.rpm rpm -Uv --force --nodeps /usr/src/packages/RPMS/*/*.rpm # smoke test, make sure snapper at least starts snapper --version # Run the integration test # Running it in the source tree ensures that the coverage report finds it pushd /usr/src/packages/BUILD/snapper-*/testsuite-real ./setup-and-run-all popd # Coverage report pushd /usr/src/packages/BUILD/snapper-* make coverage popd # Must call coveralls-lcov from the git directory BUILDDIR=(/usr/src/packages/BUILD/snapper-*) # expand glob make -f Makefile.repo coveralls BUILDDIR="${BUILDDIR[@]}" # get the plain package names and remove all packages at once rpm -ev --nodeps `rpm -q --qf '%{NAME} ' -p /usr/src/packages/RPMS/**/*.rpm` |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |