Skip to content

Commit 325c441

Browse files
committed
Updated travis build scripts (from rspec-dev)
1 parent d339d7e commit 325c441

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
1+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# This file contains defaults for RSpec projects. Individual projects

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
1+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
version: "{build}"

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
2+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/functions.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
1+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@@ -11,6 +11,10 @@ export JRUBY_OPTS=${JRUBY_OPTS:-"--server -Xcompile.invokedynamic=false"}
1111
SPECS_HAVE_RUN_FILE=specs.out
1212
MAINTENANCE_BRANCH=`cat maintenance-branch`
1313

14+
# Don't allow rubygems to pollute what's loaded. Also, things boot
15+
# faster without the extra load time of rubygems.
16+
export RUBYOPT="--disable=gem"
17+
1418
function clone_repo {
1519
if [ ! -d $1 ]; then # don't clone if the dir is already there
1620
travis_retry eval "git clone git://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH"
@@ -49,7 +53,7 @@ function run_cukes {
4953
else
5054
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
5155
# and PATH for those that are using `rspec` or `rake`.
52-
RUBYOPT="-I${PWD}/../bundle -rbundler/setup" \
56+
RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
5357
PATH="${PWD}/bin:$PATH" \
5458
bin/cucumber --strict
5559
fi

script/predicate_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
1+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
function is_mri {

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
2+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/travis_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-08-01T02:04:28-04:00 from the rspec-dev repo.
1+
# This file was generated on 2015-08-11T10:10:30+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# Taken from:

0 commit comments

Comments
 (0)