Browse Source

More debug output

tempestpy_adaptions
Matthias Volk 8 years ago
parent
commit
9d441d21af
  1. 2
      travis/install_linux.sh
  2. 5
      travis/install_osx.sh
  3. 30
      travis/postsubmit-helper.sh
  4. 4
      travis/postsubmit.sh

2
travis/install_linux.sh

@ -1,5 +1,5 @@
#!/bin/bash -x
set -e
set -ev
sudo apt-get install -qq -y docker

5
travis/install_osx.sh

@ -2,14 +2,15 @@
# Script installing dependencies
# Inspired by https://github.com/google/fruit
set -ev
# Helper for travis folding
travis_fold() {
local action=$1
local name=$2
echo -en "travis_fold:${action}:${name}\r"
}
set -e
# Helper for installing packages via homebrew
install_brew_package() {
if brew list -1 | grep -q "^$1\$"; then

30
travis/postsubmit-helper.sh

@ -1,7 +1,14 @@
#!/bin/bash -x
# Inspired by https://github.com/google/fruit
set -e
set -ev
# Helper for travis folding
travis_fold() {
local action=$1
local name=$2
echo -en "travis_fold:${action}:${name}\r"
}
# This only exists in OS X, but it doesn't cause issues in Linux (the dir doesn't exist, so it's
# ignored).
@ -82,20 +89,6 @@ clang-default)
exit 1
esac
travis_fold() {
local action=$1
local name=$2
echo -en "travis_fold:${action}:${name}\r"
}
run_make() {
travis_fold start make
#make storm -j$N_JOBS
#make resources -j$N_JOBS
make -j$N_JOBS
travis_fold end make
}
# Build
echo CXX version: $($CXX --version)
echo C++ Standard library location: $(echo '#include <vector>' | $CXX -x c++ -E - | grep 'vector\"' | awk '{print $3}' | sed 's@/vector@@;s@\"@@g' | head -n 1)
@ -125,4 +118,9 @@ then
fi
echo
travis_fold end cmake
run_make
travis_fold start make
#make storm -j$N_JOBS
#make resources -j$N_JOBS
make -j$N_JOBS
travis_fold end make

4
travis/postsubmit.sh

@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/bash -x
# Inspired by https://github.com/google/fruit
set -e
set -ev
: ${N_JOBS:=2}
: ${TIMEOUT:=400}

Loading…
Cancel
Save