Build all targets on Travis

This commit is contained in:
Oliver Hamlet
2016-07-26 07:38:17 +01:00
parent 14d73450b0
commit 4abe505383
2 changed files with 15 additions and 3 deletions
+13 -2
View File
@@ -17,6 +17,14 @@ addons:
- g++-5
- cmake
- cmake-data
# GUI dependencies
- libx11-dev
- libgtk2.0-dev
- libnss3-dev
- libgconf2-dev
- libxss-dev
- libasound2-dev
- libxtst-dev
sauce_connect: true
cache:
@@ -51,8 +59,11 @@ before_script:
script:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm test; fi
- make tests && ./tests
- make api-tests && ./api-tests
# Travis will run all steps before failing, so no point in building only the
# tests first.
- make all
- ./tests
- ./api-tests
before_deploy:
# Build the metadata validator
+2 -1
View File
@@ -328,7 +328,8 @@ IF (CMAKE_COMPILER_IS_GNUCXX)
set (LOOT_LIBS ssl
curl
z
crypto)
crypto
rt)
set (LOOT_GUI_LIBS X11)
IF (NOT MINGW)