diff options
author | Philipp A. Hartmann <pah@qo.cx> | 2014-06-26 16:52:29 +0400 |
---|---|---|
committer | Philipp A. Hartmann <pah@qo.cx> | 2014-06-26 17:46:40 +0400 |
commit | 43628f6f7dbbbc9ab566037479a4f8c0cff108d0 (patch) | |
tree | 01dcb0c10df8849935d4f4bfa1c78116bbe64fb2 /.travis.yml | |
parent | c0f89f6f0713dfa85979e3b41bca99c5347115f8 (diff) |
prepare for travis-ci.org continuous integration
Travis CI is a free hosted continuous integration platform for
open-source projects. It allows automated testing for GitHub-hosted
projects.
This commit adds a corresponding `.travis.yml` configuration file.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..efa96e5a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: cpp + +compiler: + - clang + - gcc + +env: + - config=debug64 config_suffix=debug_x64_gmake + - config=release64 config_suffix=release_x64_gmake + +before_install: + - sudo add-apt-repository -y ppa:codegear/release + - sudo apt-get update -qq + - sudo apt-get install -y premake4 + +install: true + +before_script: + - cd build + - premake4 'gmake' + - cd "${TRAVIS_BUILD_DIR}" + +script: + - make -C build/gmake -f test.make unittest + - cd bin + - ./unittest_${config_suffix} |