fmtlegacy/.travis.yml

28 lines
753 B
YAML
Raw Normal View History

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:
- 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
- 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:
- 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
- cd .. && rm -rf build/
# Building with biicode
- biicode/support/travis-build.sh
2014-06-06 16:18:57 +00:00
after_failure:
- cat Testing/Temporary/LastTest.log