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=$?