diff --git a/.travis.yml b/.travis.yml index 5cad7574d6..7e4339b597 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,12 +24,8 @@ install: - ./tool/install_travis.sh before_script: -- ulimit -c unlimited -S - pub get -after_failure: -- ./tool/after_failure_travis.sh - before_install: # Disable non-blocking I/O for stdout, stderr https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-348435959 - python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' diff --git a/test/model_special_cases_test.dart b/test/model_special_cases_test.dart index 3e01d1408e..39aa012b5d 100644 --- a/test/model_special_cases_test.dart +++ b/test/model_special_cases_test.dart @@ -290,7 +290,7 @@ void main() { List packageCategories = packageGraphSmall.localPackages.first.categories; expect(packageCategories.length, equals(0)); - }); + }, timeout: Timeout.factor(2)); }); group('Package', () { diff --git a/tool/after_failure_travis.sh b/tool/after_failure_travis.sh deleted file mode 100755 index 67f6681360..0000000000 --- a/tool/after_failure_travis.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file -# for details. All rights reserved. Use of this source code is governed by a -# BSD-style license that can be found in the LICENSE file. - -# Echo commands as they execute. -set -x - -# Display backtrace for a single core. -function do_core() { - local corefile="$1" - - echo "Processing core file: $corefile" - gdb -c "$corefile" -ex "thread apply all bt" -ex "set pagination 0" -batch -} - -# Find core files in likely locations for dartdoc. -if uname | grep -q Linux ; then - COREFILES=$(find . -type f -name "core*" 2>/dev/null | egrep -v '(.yaml|.dart|.expect|.gni)$') # find core files - COREFILES_TMP="$(cd /tmp ; find . -type f -name "core*" 2>/dev/null | egrep -v '(.yaml|.dart|.expect|.gni)$')" - for f in ${COREFILES} ; do { - do_core "$f" - } ; done - for f in ${COREFILES_TMP} ; do { - do_core "/tmp/$f" - } ; done -fi - diff --git a/tool/install_travis.sh b/tool/install_travis.sh index 91ff42c2e7..c2aa2462d0 100755 --- a/tool/install_travis.sh +++ b/tool/install_travis.sh @@ -8,8 +8,6 @@ set -x if uname | grep -q Linux ; then - sudo apt-get update - sudo apt-get install -y gdb sudo gem install coveralls-lcov coveralls-lcov --help fi