From f516765b94761838fd15cff283757e74e61cdd41 Mon Sep 17 00:00:00 2001 From: Milton Mazzarri Date: Sun, 2 Jul 2017 23:32:42 -0500 Subject: bootstrap: Major refactoring This commit includes the following: * Fix syntax errors in Python 3 * Include more docstrings in classes, methods, and functions * Include unit tests using `unittest` * Merge implementation of `{rustc,cargo}_out_of_date` * Merge implementation of `RustBuild.{cargo,rustc}` * Remove unnecessary source code * Move all the attributes defined outside of `__init__` * Remove remaining `%s` from print function * Remove `WindowsError` reference on non-windows systems * Rename some variables to be more explicit avoid their meaning * Run bootstrap tests in the CI process * Remove non-pythonic getters * Remove duplicate code in `download_stage0` method * Reduce the number of branches in `build_bootstrap` method * Re-raise exception when we cannot execute uname in non-windows systems * Avoid long lines --- src/ci/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ci') diff --git a/src/ci/run.sh b/src/ci/run.sh index 549e804603c..ccf0bb1ffb7 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -74,6 +74,12 @@ retry make prepare travis_fold end make-prepare travis_time_finish +travis_fold start check-bootstrap +travis_time_start +make check-bootstrap +travis_fold end check-bootstrap +travis_time_finish + if [ "$TRAVIS_OS_NAME" = "osx" ]; then ncpus=$(sysctl -n hw.ncpu) else -- cgit 1.4.1-3-g733a5