Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit f96845f

Browse files
committed
Merge pull request #1886 from rspec/update-travis-build-scripts-2015-02-24-for-master
Updates from rspec-dev (2015-02-24)
2 parents 43b464b + 30d3e0b commit f96845f

9 files changed

+25
-16
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-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2015-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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
language: ruby
@@ -22,16 +22,24 @@ rvm:
2222
- 2.2
2323
- ruby-head
2424
- ree
25-
- jruby-18mode
26-
- jruby
27-
- jruby-head
2825
- rbx
2926
matrix:
3027
include:
3128
- rvm: jruby
32-
env: JRUBY_OPTS='--2.0'
29+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false -Xcompat.version=2.0'
30+
- rvm: jruby-head
31+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
32+
- rvm: jruby-18mode
33+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
34+
- rvm: jruby
35+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
3336
allow_failures:
3437
- rvm: jruby-head
38+
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
3539
- rvm: ruby-head
3640
- rvm: rbx
3741
fast_finish: true
42+
branches:
43+
only:
44+
- master
45+
- /^\d+-\d+-maintenance$/

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-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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-01-07T22:08:46-08:00 from the rspec-dev repo.
2+
# This file was generated on 2015-02-24T14:46:39-08: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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# This file was generated on 2015-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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 )"
55
source $SCRIPT_DIR/travis_functions.sh
66
source $SCRIPT_DIR/predicate_functions.sh
77

8-
# idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html
9-
export JRUBY_OPTS="${JRUBY_OPTS} -X-C" # disable JIT since these processes are so short lived
8+
# If JRUBY_OPTS isn't set, use these.
9+
# see http://docs.travis-ci.com/user/ci-environment/
10+
export JRUBY_OPTS=${JRUBY_OPTS:-"--server -Xcompile.invokedynamic=false"}
1011
SPECS_HAVE_RUN_FILE=specs.out
1112
MAINTENANCE_BRANCH=`cat maintenance-branch`
1213

@@ -112,7 +113,7 @@ function check_documentation_coverage {
112113
}
113114

114115
function check_style_and_lint {
115-
echo "bin/rubucop lib"
116+
echo "bin/rubocop lib"
116117
bin/rubocop lib
117118
}
118119

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-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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/rspec_with_simplecov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ begin
3131
add_filter "./bundle/"
3232
add_filter "./tmp/"
3333
add_filter "./spec/"
34-
minimum_coverage(RUBY_PLATFORM == 'java' ? 94 : 97)
34+
minimum_coverage(RUBY_PLATFORM == 'java' ? 93 : 97)
3535
end
3636
end
3737
rescue LoadError

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-01-07T22:08:46-08:00 from the rspec-dev repo.
2+
# This file was generated on 2015-02-24T14:46:39-08: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-01-07T22:08:46-08:00 from the rspec-dev repo.
1+
# This file was generated on 2015-02-24T14:46:39-08: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)