Merge pull request #178 from scpeters/travis_yml

Add .travis.yml for continuous integration
This commit is contained in:
erwincoumans
2014-07-11 12:58:16 -07:00

17
.travis.yml Normal file
View File

@@ -0,0 +1,17 @@
language: cpp
compiler:
- gcc
- clang
install:
- sudo apt-get update
- sudo apt-get install libglew-dev
script:
- echo "CXX="$CXX
- echo "CC="$CC
- cmake . -G "Unix Makefiles" #-DCMAKE_CXX_FLAGS=-Werror
- make -j8
- sudo make install
# Test again with double precision
- cmake . -G "Unix Makefiles" -DUSE_DOUBLE_PRECISION=ON #-DCMAKE_CXX_FLAGS=-Werror
- make -j8
- sudo make install