summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRémy Léone <remy.leone@gmail.com>2013-12-12 16:23:07 +0100
committerRémy Léone <remy.leone@gmail.com>2013-12-13 17:14:37 +0100
commit34557144105b103227e17802fa45c4129fdecf87 (patch)
tree14d7c3443350360064febb61e46ea7cd9dba1a77 /.travis.yml
parent7fd2c2d08b0e6d9f792e28ca2f3d10a820ca08d9 (diff)
Adding a .travis.yml file to use the travis-ci.org
From wikipedia: Travis CI is a hosted, distributed continuous integration service used to build and test projects hosted at GitHub. Travis CI is configured by adding a file named .travis.yml, which is a YAML format text file, to the root directory of the GitHub repository. Travis CI automatically detects when a commit has been made and pushed to a GitHub repository that is using Travis CI, and each time this happens, it will try to build the project and run tests. This includes commits to all branches, not just to the master branch. When that process has completed, it will notify a developer in the way it has been configured to do so — for example, by sending an email containing the test results (showing success or failure), or by posting a message on an IRC channel. It can be configured to run the tests on a range of different machines, with different software installed (such as older versions of a programming language, to test for compatibility).
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..33d2dbcc
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: c
+
+before_script:
+ - sudo apt-get install -qq valgrind
+ - bundle install --gemfile=docs/Gemfile
+ - autoreconf -i
+
+script:
+ - ./setup.sh
+ - ./configure && make
+
+compiler:
+ - gcc
+ - clang
+
+notifications:
+ email: false