In the previous code, there was a mistake in how cwd in travis works.
This solves that by just using make -C instead.

The only issue is that the tests currently fail.

Signed-off-by: Anton Lundin <gla...@acc.umu.se>
---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e6fc925..8106b8e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,5 +47,5 @@ script:
     - export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
       cd .. ;
       bash -e ./subsurface/scripts/build.sh -both
-    - cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check
-#    - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check
+    - env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build check
+#    - env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build-mobile check
-- 
2.9.3

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to