- - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- - sudo apt-get -qq update
- - sudo apt-get -qq install g++-4.8
- - export CXX=g++-4.8
-script: make && make test && test/integration/run-tests
+before_script:
+ - ( mkdir build && cd build && cmake .. )
+ - make -C build -j4
+script:
+ - CTEST_OUTPUT_ON_FAILURE=1 make -C build test
+ - ./test/integration/run-tests -q
+ - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
+ - sudo ./test/integration/run-tests -q
+ - make -C build install DESTDIR=$PWD/rootdir
+ - find rootdir -print0 | xargs -0 ls -ld