-
-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathbuild_test.sh
More file actions
executable file
·43 lines (36 loc) · 764 Bytes
/
build_test.sh
File metadata and controls
executable file
·43 lines (36 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
# 1.8.7-p374\
for ruby in \
1.9.3-p551\
2.1.5\
2.2.3\
2.4.0-preview1\
2.3.3
do
echo "\n********************************************************************************"
echo "Building $ruby\n"
cd ext/oj
rbenv local $ruby
ruby extconf.rb
make
echo "\nRunning tests for $ruby"
cd ../../test
rbenv local $ruby
cd isolated
rbenv local $ruby
cd ..
./test_all.sh
cd ..
echo "\n"
done
PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin:$PATH
echo "\n********************************************************************************"
echo "Building OS X Ruby\n"
cd ext/oj
ruby extconf.rb
make
echo "\nRunning tests for OS X Ruby"
cd ../../test
./test_all.sh
cd ..
echo "\n"