forked from NancyFx/Nancy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.12 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: ruby
rvm:
- 1.9.3
install:
- sudo bash -c "echo deb https://badgerports.org lucid main >> /etc/apt/sources.list"
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E1FAD0C
- sudo apt-get update
- sudo apt-get install mono-devel mono-gmcs mono-vbnc
- sudo apt-get install gettext
- sudo wget -q -P "/opt" "https://samples.nancyfx.org/content/mono-3.0.12-x64-bin.tar.bz2"
- gem install rake
- gem install albacore --version "1.0.0.rc2"
- echo \#\!/bin/bash >> ./travis.sh
- echo set -e >> ./travis.sh
- echo set -x >> ./travis.sh
- echo set -o pipefail >> ./travis.sh
- echo echo Running on Mono 2.x >> ./travis.sh
- echo rake mono >> ./travis.sh
- echo echo Running on Mono 3.x >> ./travis.sh
- echo sudo tar xkv -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 rake mono >> ./travis.sh
- chmod +x ./travis.sh
- cat travis.sh
script: ./travis.sh
notifications:
email:
gemfile: Gemfile