-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.01 KB
/
.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
30
language: c
os: [linux, osx]
osx_image: mavericks
before_install:
- "sed -i'' -e '/rvm_project_rvmrc/d ; /rvm_silence_path_mismatch_check_flag/d' ~/.rvmrc || true"
- "head -n 100 /etc/rvmrc ~/.rvmrc || true"
- rvm use ruby-2.0.0 --fuzzy
- "[[ -n \"${LANG:-}\" ]] || export LANG=en_US.UTF-8"
- "env | grep '^rvm' || true"
install: gem install tf -v '>=0.4.1'
before_script:
- "sudo chown -R $USER: $rvm_path"
- "if which apt-get ; then sudo apt-get install gawk -y ; fi"
- "echo ruby_1.8.7_rubygems_version=1.8.25 > $rvm_path/user/db"
- "if [[ -f ~/.rvmrc ]] ; then sed -i'' -r -e '/rvm_silence_path_mismatch_check_flag|rvm_project_rvmrc/ d' ~/.rvmrc ; fi"
- unset rvm_silence_path_mismatch_check_flag rvm_project_rvmrc
- rvm alias delete default
- hash -r
- ./install
- git submodule init
- git submodule update
script: tf --text rvm-test/fast/* rvm-test-rvm1/*
notifications:
irc:
channels:
- "irc.freenode.org#rvm-test"
email:
recipients:
on_failure: change