2014-04-15 06:18:58 +00:00
|
|
|
language: cpp
|
|
|
|
|
2014-06-06 15:05:13 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2014-04-15 06:28:11 +00:00
|
|
|
before_install:
|
2015-02-09 09:31:22 +00:00
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then curl http://www.cmake.org/files/v3.0/cmake-3.0.2-Darwin64-universal.tar.gz -o cmake.tar.gz; fi
|
2014-06-06 16:07:08 +00:00
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then tar xzf cmake.tar.gz; fi
|
2015-02-09 09:31:22 +00:00
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then export PATH=$PATH:"cmake-3.0.2-Darwin64-universal/CMake.app/Contents/bin"; fi
|
2014-04-15 06:28:11 +00:00
|
|
|
- git submodule update --init
|
|
|
|
|
2014-05-19 14:53:02 +00:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE=Debug
|
|
|
|
- BUILD_TYPE=Release
|
|
|
|
|
2014-04-15 06:18:58 +00:00
|
|
|
script:
|
2015-02-09 09:31:22 +00:00
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON ..
|
2014-05-19 14:35:18 +00:00
|
|
|
- make -j4
|
2014-08-17 14:56:48 +00:00
|
|
|
- CTEST_OUTPUT_ON_FAILURE=1 make test
|
2015-02-09 09:31:22 +00:00
|
|
|
- cd .. && rm -rf build/
|
2015-03-04 05:49:33 +00:00
|
|
|
- support/biicode-build.py
|
2015-02-09 09:31:22 +00:00
|
|
|
|
2014-06-06 16:18:57 +00:00
|
|
|
after_failure:
|
|
|
|
- cat Testing/Temporary/LastTest.log
|