diff options
author | Mike Frysinger <vapier@chromium.org> | 2016-06-21 16:55:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2016-06-21 16:55:02 -0400 |
commit | f140a0339f4c4f0dd373d7d4b225bdc213300cce (patch) | |
tree | a40bc1fe69f3d099dffb0a2b9fcdc467d0d36b70 /scripts | |
parent | travis: tweak coverity build command (diff) | |
download | breakpad-f140a0339f4c4f0dd373d7d4b225bdc213300cce.tar.xz |
travis: fix cwd when running tests
Make sure we don't go messing with the cwd when running different tests.
This way we can always assume we start in the top level source dir.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis-build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/travis-build.sh b/scripts/travis-build.sh index badaf97c..e0bb19a4 100755 --- a/scripts/travis-build.sh +++ b/scripts/travis-build.sh @@ -49,9 +49,10 @@ build() { # Do an out-of-tree build and make sure we can create a release tarball. build_out_of_tree() { mkdir -p build/native - cd build/native + pushd build/native >/dev/null ../../configure make -j${JOBS} distcheck VERBOSE=1 + popd >/dev/null } main() { |