From d78edcb2d2f5395d42fcc6b19a9185a1484c688f Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Sun, 20 Oct 2013 19:41:40 +0100 Subject: [PATCH] Teach travis to build the simple example project. --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cd139afcf..f8bbbb9cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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