Skip to content

Commit

Permalink
Updated travis build scripts (from rspec-dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Jan 2, 2015
1 parent 2039603 commit 8f9ad96
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .rubocop_rspec_base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

version: "{build}"
Expand Down
2 changes: 1 addition & 1 deletion script/clone_all_rspec_repos
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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
Expand Down
13 changes: 2 additions & 11 deletions script/functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Expand Down Expand Up @@ -68,16 +68,7 @@ function run_spec_suite_for {
echo "Running specs for $1"
pushd ../$1
unset BUNDLE_GEMFILE

if [ $1 == "rspec-rails" ]; then
bundle_install_flags=`cat .travis.yml | grep bundler_args | tr -d '"' | grep -o " .*"`
else
# The other repos' master branch have `./bundle` as the bundler path, but we need them to all
# go into `../bundle`, so we are forcing it here rather than reading from `.travis.yml`.
# Once all the PRs are merged we can revert this.
bundle_install_flags="--binstubs --standalone --without documentation --path ../bundle"
fi

bundle_install_flags=`cat .travis.yml | grep bundler_args | tr -d '"' | grep -o " .*"`
travis_retry eval "bundle install $bundle_install_flags"
run_specs_and_record_done
popd
Expand Down
2 changes: 1 addition & 1 deletion script/predicate_functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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 {
Expand Down
2 changes: 1 addition & 1 deletion script/run_build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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
Expand Down
2 changes: 1 addition & 1 deletion script/travis_functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2015-01-01T12:50:25-08:00 from the rspec-dev repo.
# This file was generated on 2015-01-01T16:46:16-08: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:
Expand Down

0 comments on commit 8f9ad96

Please sign in to comment.