fmt/.travis.yml

24 lines
648 B
YAML
Raw Normal View History

2014-04-15 10:18:58 +04:00
language: cpp
2014-06-06 19:05:13 +04:00
os:
- linux
- osx
2014-04-15 10:28:11 +04:00
before_install:
2014-06-06 20:07:08 +04:00
- if [ $TRAVIS_OS_NAME == osx ]; then curl http://www.cmake.org/files/v2.8/cmake-2.8.12.2-Darwin64-universal.tar.gz -o cmake.tar.gz; fi
- if [ $TRAVIS_OS_NAME == osx ]; then tar xzf cmake.tar.gz; fi
- if [ $TRAVIS_OS_NAME == osx ]; then export PATH=$PATH:"cmake-2.8.12.2-Darwin64-universal/CMake 2.8-12.app/Contents/bin"; fi
2014-04-15 10:28:11 +04:00
- git submodule update --init
2014-05-19 18:53:02 +04:00
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
2014-04-15 10:18:58 +04:00
script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON .
2014-05-19 18:35:18 +04:00
- make -j4
2014-08-17 18:56:48 +04:00
- CTEST_OUTPUT_ON_FAILURE=1 make test
2014-06-06 20:18:57 +04:00
after_failure:
- cat Testing/Temporary/LastTest.log