@@ -64,16 +64,17 @@ env: - config=devkitpsp before_install: - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then - if ! sudo apt-get -qq update >apt_log 2>&1; then - cat apt_log; + if ! sudo apt-get -qq update >/tmp/apt_log 2>&1; then + cat /tmp/apt_log; exit 1; fi; - if ! sudo apt-get -qq install -y gobjc-multilib >apt_log 2>&1; then - cat apt_log; + if ! sudo apt-get -qq install -y gobjc-multilib >/tmp/apt_log 2>&1; + then + cat /tmp/apt_log; exit 1; fi; fi - if [ "$config" = "devkitarm" ]; then @@ -113,28 +114,28 @@ script: - echo -e '%s/-DSTDOUT$/&_SIMPLE/\nwq' | ed -s tests/Makefile - build() { - if ! git clean -fxd >clean_log 2>&1; then - cat clean_log; + if ! git clean -fxd >/tmp/clean_log 2>&1; then + cat /tmp/clean_log; exit 1; fi; echo ">> Configuring with $@"; ./autogen.sh; if ! ./configure ac_cv_path_TPUT= "$@"; then cat config.log; exit 1; fi; echo ">> Building (configured with $@)"; - if ! make -j4 >make_log 2>&1; then - cat make_log; + if ! make -j4 >/tmp/make_log 2>&1; then + cat /tmp/make_log; exit 1; fi; echo ">> Installing (configured with $@)"; - if ! sudo PATH="$PATH" make install >install_log 2>&1; then - cat install_log; + if ! sudo PATH="$PATH" make install >/tmp/install_log 2>&1; then + cat /tmp/install_log; exit 1; fi; } - if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then