fmtlegacy/.travis.yml

24 lines
622 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:
2014-06-06 16:07:08 +00: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 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:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFMT_EXTRA_TESTS=ON .
2014-05-19 14:35:18 +00:00
- make -j4
2014-04-15 06:28:11 +00:00
- make test
2014-06-06 16:18:57 +00:00
after_failure:
- cat Testing/Temporary/LastTest.log