From 58e23002af1457340125bcf7a5a2bcb4cd8a6cf9 Mon Sep 17 00:00:00 2001 From: Aaron Kromer Date: Wed, 12 Nov 2014 12:16:22 -0500 Subject: [PATCH] Updated travis build scripts (from rspec-dev) --- .rubocop_rspec_base.yml | 2 +- .travis.yml | 2 +- script/clone_all_rspec_repos | 2 +- script/functions.sh | 7 ++++--- script/predicate_functions.sh | 2 +- script/run_build | 2 +- script/travis_functions.sh | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.rubocop_rspec_base.yml b/.rubocop_rspec_base.yml index 4008c0809..0549c7069 100644 --- a/.rubocop_rspec_base.yml +++ b/.rubocop_rspec_base.yml @@ -1,4 +1,4 @@ -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # This file contains defaults for RSpec projects. Individual projects diff --git a/.travis.yml b/.travis.yml index 5702a058d..fced5923d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. language: ruby diff --git a/script/clone_all_rspec_repos b/script/clone_all_rspec_repos index 74651bd6b..431ecb34d 100755 --- a/script/clone_all_rspec_repos +++ b/script/clone_all_rspec_repos @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/functions.sh b/script/functions.sh index 903b45ed9..b4111866a 100644 --- a/script/functions.sh +++ b/script/functions.sh @@ -1,8 +1,9 @@ -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. -source script/travis_functions.sh -source script/predicate_functions.sh +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source $SCRIPT_DIR/travis_functions.sh +source $SCRIPT_DIR/predicate_functions.sh # idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html export JRUBY_OPTS="${JRUBY_OPTS} -X-C" # disable JIT since these processes are so short lived diff --git a/script/predicate_functions.sh b/script/predicate_functions.sh index 19053f0be..14a4d8552 100644 --- a/script/predicate_functions.sh +++ b/script/predicate_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. function is_mri { diff --git a/script/run_build b/script/run_build index 2075b66a2..c3f3f8dfd 100755 --- a/script/run_build +++ b/script/run_build @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/travis_functions.sh b/script/travis_functions.sh index db6b014d6..66cfd0230 100644 --- a/script/travis_functions.sh +++ b/script/travis_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2014-11-12T00:37:08-08:00 from the rspec-dev repo. +# This file was generated on 2014-11-12T12:16:22-05:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # Taken from: