Skip to content

Commit 452887c

Browse files
committed
wip
1 parent 0502eee commit 452887c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ matrix:
2626
- os: osx
2727
rvm: 2.0.0
2828

29-
include:
3029
- os: osx
3130
rvm: 1.8.7
32-
before_script: rvm install ruby-1.8.7 # not binary
33-
# - os: osx
31+
32+
# include:
33+
# - os: osx
34+
# rvm: 1.9.3
35+
# before_script: rvm install ruby-1.9.3 # not binary
36+
# - os: osx
3437
# rvm: 2.0.0
3538
# before_script: rvm install ruby-2.0.0 # not binary

test-base/test_base.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,7 @@ def TestBase.find_free_port(port = 1098)
134134

135135
def create_file(script_name, lines)
136136
file = File.join(TMP_DIR, script_name)
137-
script_path = RUBY_VERSION >= "1.9" ? File.realdirpath(file) : Pathname.new(file).realpath.to_s
138-
#path = Pathname.new(File.join(TMP_DIR, script_name))
139-
#script_path = path.realdirpath.to_s
140-
puts script_path
141-
#puts path.realdirpath.absolute?
137+
script_path = RUBY_VERSION >= "1.9" ? File.realdirpath(file) : file.to_s
142138

143139
File.open(script_path, "w") do |script|
144140
script.printf(lines.join("\n"))

0 commit comments

Comments
 (0)