Permalink
Browse files

Teach travis to build the simple example project.

  • Loading branch information...
1 parent 2dd42ff commit d78edcb2d2f5395d42fcc6b19a9185a1484c688f @delcypher delcypher committed Oct 20, 2013
Showing with 8 additions and 1 deletion.
  1. +8 −1 .travis.yml
View
@@ -8,6 +8,13 @@ before_install:
- sudo apt-get update
- sudo apt-get install cmake
- mkdir build && cd build
- - cmake -G "Unix Makefiles" ..
+ - mkdir simple_example
+ - mkdir stp && cd stp
+ - cmake -G "Unix Makefiles" ../..
script:
+# Build STP
+ - make
+# Build example project. We assume that the build installed itself to the CMake user package registry (~/.cmake/packages/)
+ - cd ../simple_example
+ - cmake -G "Unix Makefiles" ../../examples/simple
- make

0 comments on commit d78edcb

Please sign in to comment.