From 8be2e8b0a0bf36fe4bc9f58cedc91dd20abaa5e1 Mon Sep 17 00:00:00 2001 From: Thomas Edvalson Date: Fri, 14 Feb 2014 23:57:07 -0500 Subject: [PATCH] Add tween engine lib to travis script to fix the build --- .travis.yml | 2 ++ test/run.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f5c9339..63519b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: cpp compiler: - gcc before_install: + - git clone https://github.com/cpp3ds/universal-tween-engine-cpp.git tween + - "cd tween && make ; cd -" - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get -qq update - sudo apt-get -qq install libgtest-dev g++-4.8 diff --git a/test/run.sh b/test/run.sh index 45d4676..fdf18c3 100755 --- a/test/run.sh +++ b/test/run.sh @@ -1,5 +1,5 @@ echo "Compiling unit tests..." -g++ main.cpp -o test -L../lib -I../include -std=c++11 -lgtest -lpthread -lcpp3ds -DTESTING +g++ main.cpp -o test -L../lib -I../include -L../tween/lib -I../tween/include -std=c++11 -lgtest -lpthread -lcpp3ds -ltween -DTESTING echo "Running unit tests..." ./test -v result=$?