tests: Implement Travis-based Multi-OS CI service

This commit implements (after the example of taskwarrior) a Travis-based
multi-OS continuous integration service, that tests on a variety of
Linux-based hosts and Mac OS X.
This commit is contained in:
Tomas Babej 2019-01-02 18:34:32 -05:00 committed by lauft
parent 37a3aa0ccf
commit bdb98553fb
13 changed files with 415 additions and 0 deletions

18
test/scripts/test_osx.sh Normal file
View file

@ -0,0 +1,18 @@
set -x
brew install gnutls
brew install cmake
brew install libfaketime
git clean -dfx
git submodule init
git submodule update
cmake -DCMAKE_BUILD_TYPE=debug .
make -j2
make install
task --version
pushd test
make
./run_all -v
cat all.log | grep 'not ok'
./problems