mirror of
https://github.com/encounter/cpp3ds.git
synced 2026-03-30 11:04:22 -07:00
Add tween engine lib to travis script to fix the build
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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=$?
|
||||
|
||||
Reference in New Issue
Block a user