travis: Correct infrastructure for tests on mobile

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 <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2017-02-07 11:57:04 +01:00 committed by Dirk Hohndel
parent 40620aca0b
commit 24f61e8b3d

View file

@ -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