-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
29 lines (29 loc) · 914 Bytes
/
.travis.yml
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
osx_image: mavericks
env: RUBY=2.1.1
language: objective-c
install: curl -L https://get.smf.sh | sh
before_script:
- export PATH="$HOME/.sm/bin:$HOME/.sm/pkg/active/bin:$PATH"
- rvm get head
- rvm autolibs smf
- sudo mkdir -p /etc/openssl
- "sudo chown -R $USER: /etc/openssl"
- rvm remove $RUBY
script: rvm install $RUBY --movable
after_success:
- rvm use $RUBY
- "if which otool >/dev/null ; then otool -L $MY_RUBY_HOME/bin/ruby ; fi"
- ruby -v
- ruby -ropenssl -ryaml -e 'puts ["libyaml "+Psych::LIBYAML_VERSION, OpenSSL::OPENSSL_VERSION]'
- ruby -ropenssl -ryaml -ropen-uri -e 'puts(open("https://google.com").each_line.first.to_yaml)'
- rvm prepare $RUBY
after_failure:
- find $rvm_path/log/ -type f | xargs ls -t | head -n 1 | xargs cat
notifications:
irc:
channels:
- "irc.freenode.org#rvm-test"
email:
recipients:
on_failure: change