forked from Albacore/albacore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 1.26 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
31
32
33
34
35
36
37
# kisses and hugs to https://raw.github.com/NancyFx/Nancy/master/.travis.yml
language: ruby
install:
- travis_retry sudo bash -c "echo deb http://badgerports.org lucid main >> /etc/apt/sources.list"
- travis_retry sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E1FAD0C
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install mono-devel mono-gmcs mono-vbnc
- travis_retry sudo apt-get install gettext
- travis_retry sudo wget -q -P "/opt" "http://samples.nancyfx.org/content/mono-3.0.12-x64-bin.tar.bz2"
- travis_retry bundle install
- echo set -e >> ./travis.sh
- echo set -o pipefail >> ./travis.sh
- echo echo Running on Mono 3.x >> ./travis.sh
- echo sudo tar xk -C "/opt" -f /opt/mono-3.0.12-x64-bin.tar.bz2 >> ./travis.sh
- echo export PATH="/opt/mono/bin:$PATH" >> ./travis.sh
- echo export LD_LIBRARY_PATH="/opt/mono/bin" >> ./travis.sh
- echo bundle exec rake spec >> ./travis.sh
- chmod +x ./travis.sh
script: ./travis.sh
rvm:
- 1.9.3
# 2.0 seems to be experiencing issues with subclasses not saying that they respond_to(:baseclass_method)
# so that's for another day to fix
# - 2.0.0
# - jruby
branches:
only: master
notifications:
email: [email protected]
gemfile: Gemfile